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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC