php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ray at asci dot com
New email:
PHP Version: OS:

 

 [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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-23 14:02 UTC] hholzgra@php.net
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
 [2001-01-12 11:26 UTC] sniper@php.net
just reclassifying. 
 [2001-05-11 21:52 UTC] sniper@php.net
this should be closed..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC