|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6302 php.ini will only get read when apache is started with -X (single-process)
Submitted: 2000-08-22 15:03 UTC Modified: 2000-08-23 07:21 UTC
From: hartmut at six dot de Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.1pl2 OS: FreeBSD 3.3
Private report: No CVE-ID: None
 [2000-08-22 15:03 UTC] hartmut at six dot de
when apache is started whit option '-X' for single
process operation everything works well and settings 
in php.ini are read and take effect

but whenever apache is started for normal (multiprocess)
operation the contents of php.ini are ignored

the machine/file systems does not track access times
for 'ls -a' so i cannot veryfy whether the file is beeing 

when i compare phpinfo() output for both cases the only
differences are the values from php.ini and the port
number for the client connection, everything else
including apache environment is absolutely identical

configure line is:
'./configure' '--with-gd=/sw/i386_fbsd3/gd-1.7'              

php.ini contains only one line:
  max_execution_time = 60

(might be related to #6244, #6230 and #6166)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-23 07:21 UTC]
The config file path should be:

I don't know how it worked you for -X...
 [2003-05-31 16:08 UTC] adm2219 at yahoo dot com
I get the same problem. Starting in single-process mode works fine, but when in normal mode, the php.ini is not read. Did anyone ever figure this out?
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 19:03:41 2023 UTC