ID: 6317
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Status: Duplicate
Old-Bug Type: Installation problem
Bug Type: PHP options/info functions
Assigned To: 
Comments:

just reclassifying. 

Previous Comments:
---------------------------------------------------------------------------

[2000-08-23 14:02:23] [EMAIL PROTECTED]
see also #6302

instead of the full file path
  --with-config-file-path=/opt/www/conf/php.ini
you have to use the directory path only
  --with-config-file-path=/opt/www/conf

i assume you start 'httpd -X' from the directory
the ini file is in?

without -X httpd will chdir to server-root before
forking of the working children 
with -X it wont fork so it finds php.ini in current
working directory after it failed to find it in 
config-file-path

---------------------------------------------------------------------------

[2000-08-23 13:39:45] [EMAIL PROTECTED]
Solaris 7, ultra-sparc 5, apache 1.3.12, PHP 4.0.1pl2, both compiled with gcc 2.95.

PHP 4.0.1pl2 configure line:
configure --prefix=/opt/www --with-config-file-path=/opt/www/conf/php.ini
              --with-apxs --with-oci8 --with-oracle --with-mysql=/opt/mysql
              --disable-debug --enable-sigchild

running httpd in normal, multi-process mode, the PHP 4.0.1pl2 module does not process 
the php.ini file.

running httpd -X, however, PHP 4.0.1pl2 *does* process the php.ini file.

(as verified by using the phpinfo() call)


---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=6317


-- 
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]

Reply via email to