[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ next ]
Precompiled binary modules for PHP must be located in
/usr/lib/phpPHPVERSION/PHP_API_VERSION.
PHPVERSION is the numeric major version number (such as 3, 4, or 5), and
PHP_API_VERSION is the version against which the module was compiled.
The directory can be easily obtained at run-time by running the command
php-configPHPVERSION --extension-dir
php-config4 --extension-dir
/usr/lib/php4/20050606
Applications extending the abilities of php via add-on php modules should do so by placing symbolic links to any any relevant configuration files in the appropriate php.d directory (/etc/php4/apache/php.d, for example). Editing the contents of php.ini files directly is strongly discouraged and should only be done if it is not possible to make changes via the previously described method. In such cases, packages must not do so without first prompting the admin, and the default response for such a question should be "false".
Upon package removal, packages can de-register themselves by simply removing the symbolic link in the php.d directory (this makes seperating de-activation from configuration purging possible).
[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ next ]
PHP Policy Draft
$Revision: 73 $