|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16623 Apache2 and php.ini path
Submitted: 2002-04-15 13:53 UTC Modified: 2002-04-19 11:34 UTC
From: izi at club-internet dot fr Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.2.0 OS: WIN XP PRO
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:
18 - 2 = ?
Subscribe to this entry?

 [2002-04-15 13:53 UTC] izi at club-internet dot fr
Here's the problem :
with apache 1.3.x and any php version (including the latest) I was able to have my php.ini in another location than the %WINDIR%, for example if my apache.exe was in E:/server/apache, i put the php4ts.dll and the php.ini there and in the phpinfo(), the php.ini path is E:/server/apache/php.ini. 
But with Apache 2.0.35 and the apache2filter the php.ini path is always c:\winnt even if this directory doesn't exists ! If i place the php.ini in the windows directory, then it's ok, but i would like to place it in the apache directory cause it's very usefull for shared hosting (each apache service can have it's own php config).
Hope you understand and sorry for my frenglish...  


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-19 11:19 UTC]
This bug has been fixed in CVS.

A new apache directive has been added (in PHP HEAD CVS):

With this directive you can specify the path where
your php.ini exists. Please report back if you have
success with this. Thank you for using PHP/Apache.
 [2002-04-19 11:34 UTC]
Fixed -> closed.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 10:01:29 2024 UTC