|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6317 php.ini not processed
Submitted: 2000-08-23 13:39 UTC Modified: 2001-05-11 21:52 UTC
From: ray at asci dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.1pl2 OS: Solaris 7 (sparc)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
47 - 41 = ?
Subscribe to this entry?

 [2000-08-23 13:39 UTC] ray at asci dot com
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)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-23 14:02 UTC]
see also #6302

instead of the full file path
you have to use the directory path only

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 
 [2001-01-12 11:26 UTC]
just reclassifying. 
 [2001-05-11 21:52 UTC]
this should be closed..

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Jun 14 00:01:24 2021 UTC