|
Manual ixed installation |
Top Previous Next |
|
It is possible to manually install the loader and this is required in the following conditions: 1) Operating system and PHP mode: Linux, FreeBSD, NetBSD, OpenBSD, MacOSX, SunOS, other UNIX - PHP installed as a webserver's module (with thread safety on) Windows - PHP installed as Apache module (thread safety is always on) 2) If Thread Safety is enabled. You may check phpinfo() output for this. PHP installed as a webserver's module under Windows will always have Thread Safety on. 3) If dl() is disabled. You have an "enable_dl=Off" setting in the php.ini configuration file.
Manual installation requires permissions to access the extension_dir directory and the php.ini configuration file. Manual installation may be used even if automatic loading is available. With appropriate and manually installed SourceGuardian™ loaders you give the maximum performance for your protected scripts. This is because the script will not need to search for a loader each time it runs.
To install the SourceGuardian™ loader manually you need to do the following: 1) Choose an appropriate loader for your operating system and version of PHP. Please refer to the "Loader filename structure" section below to know which loader is required for your operating system and version of PHP. 2) Find the loader file in the ixed/ subdirectory within SourceGuardian main installation directory and copy it to the PHP extension directory (extension_dir - check the phpinfo() output). 3) Find the location of the php.ini configuration file (check the phpinfo() output) and add "extension=ixed.X.X.YYY" directive at the end of the file. (X.X is the major version of PHP and YYY is the name of operating system) 4) Restart the webserver in order to apply changes done in the php.ini configuration file and reload PHP. 5) Optionally you may check the phpinfo() output now to find out that SourceGuardian loader was successfully installed - search for "SourceGuardian" within the output.
|