PHP 4.0 Bug #8066 Updated: php.ini file not accessible via symbolic link
| From: | stas@php.net | Date: | Mon, 11 Dec 2000 10:22:48 +0000 |
| Subject: | PHP 4.0 Bug #8066 Updated: php.ini file not accessible via symbolic link | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40804@lists.php.net to get a copy of this message | ||
ID: 8066
Updated by: stas
Reported By: michael@auctionwatch.com
Old-Status: Open
Status: Feedback
Bug Type: *Configuration Issues
Assigned To:
Comments:
I fear you have some other problem here. Symlinks work with
php.ini just fine, as they do with almost every other Unix
program.
Also, there *is* an option to specify configuration file
path, it's --with-config-file-path.
Please, verify that you indeed have problem with this
setting and if so, please provide your configure line,
phpinfo() output and result of the "ls -l" on relevant files.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-30 21:53:23] michael@auctionwatch.com
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8066