|
Automatic ixed loading |
Top Previous Next |
|
Many operating systems and installations of PHP will load the Protected scripts without any modification. PHP will be able to find and load the appropriate loader if the following conditions are met: 1) Operating system and PHP mode: Linux, FreeBSD, NetBSD, OpenBSD, MacOSX, SunOS, other UNIX - PHP installed as CGI or CLI Linux, FreeBSD, NetBSD, OpenBSD, MacOSX, SunOS, other UNIX - PHP installed as a webserver's module (with thread safety off) Windows - PHP installed as CGI or CLI 2) Thread Safety is disabled. You may check phpinfo() output for this. 3) dl() is enabled. You should have enable_dl=On in your php.ini. 4) The PHP extensions directory (extension_dir) needs to exist. Please check that the extension_dir= option in php.ini points to the real directory. Some hosting companies have incorrect installations of PHP and this can cause problems. 5) The latest ixed loaders are installed in an ixed/ subdirectory within your scripts directory or any parent directory. 6) PHP version is below 5.2.5.
Please note: if your server and PHP configuration conform to all conditions above for automatic loading except only a PHP version, then it is enough to copy an appropriate loader into the PHP extension directory (extension_dir). The loader will be used automatically from the extension_dir directory - no need for changes in the php.ini configuration file.
|