ID: 8066 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: *Configuration Issues Assigned To: Comments: No feedback. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-12 05:07:11] [EMAIL PROTECTED] It is impossible to specify php.ini in runtime, since it is loaded before any PHP script has chance to execute. However, in Apache you can modify default PHP settings with php_value directives using VirtualServer, Directory and Location blocks. Waiting for your feedback on the issue. --------------------------------------------------------------------------- [2000-12-11 12:09:42] [EMAIL PROTECTED] 1) I will attempt to duplicate the problem -- I will post an update with my results. 2) In my original report, I said I wanted to specify the php.ini file at *runtime* as opposed to at compile time. I'm aware of the --with-config-file-path option :-) --------------------------------------------------------------------------- [2000-12-11 05:22:48] [EMAIL PROTECTED] 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. --------------------------------------------------------------------------- [2000-11-30 21:53:23] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]