|  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
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.
Block user comment
Status: Assign to:
Bug Type:
From: izi at club-internet dot fr
New email:
PHP Version: OS:


 [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-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 08 19:05:50 2022 UTC