PHP 4.0 Bug #8066: php.ini file not accessible via symbolic link
| From: | michael at auctionwatch dot com | Date: | Fri, 01 Dec 2000 02:53:23 +0000 |
| Subject: | PHP 4.0 Bug #8066: php.ini file not accessible via symbolic link | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39764@lists.php.net to get a copy of this message | ||
From: michael@auctionwatch.com
Operating system: Linux glibc 2.1
PHP version: 4.0.3pl1
PHP Bug Type: *Configuration Issues
Bug description: php.ini file not accessible via symbolic link
Since PHP 4 does not give us the option to specify a configuration file (e.g. php.ini) at runtime,
we decided that we would instead point CONFIGURATION_FILE_PATH at /etc and provide a symbolic link
from /etc/php.ini to /our/path/php-cluster.ini.
However, it appears that the config file reading routines will not traverse symbolic links. This
essentially breaks our ability to have cluster-specific ini files.
So, what we'd like to have fixed is the symlink traversal problem, and (more of an RFE) the
ability to specify the config file itself (not just the path) at runtime.
--
Edit Bug report at: http://bugs.php.net/?id=8066&edit=1