php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28531 config file path (-c flag) ignored
Submitted: 2004-05-26 17:19 UTC Modified: 2004-12-21 07:43 UTC
From: raga71 at yahoo dot com Assigned:
Status: No Feedback Package: CGI/CLI related
PHP Version: 4.3.9-dev OS: Windows 2000
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-05-26 17:19 UTC] raga71 at yahoo dot com
Description:
------------
it seems that the -c (-c "C:/path/to/php.ini") flag that i previously used in IIS to have the cgi executable point to a specified configuration file doesn't work anymore with 4.3.6

is it a compilation issue related to the 4.3.6 windows binaries?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-09 16:51 UTC] raga71 at yahoo dot com
i tried with 4.3.9-dev but experienced the same problem: whatever i put in my IIS configuration box ("IIS Admin > Default Website > Properties > Home directory > Configuration > Application Mapping > Add/Edit"), Php always looks for ini file in the directory where the executable is (which is "C:\Program Files\php\") and secondly -if unable to find one- in the system directory ("C:\WINNT"), thus ignoring my own settings.
Note 1: php 5.0.0RC2 -which i also have running on my server- doesn't seem to be affected by this issue.
Note 2: when invoked through the command line, such as "php -c conf/php.ini -i", the -c switch is correctly performed.
 [2004-12-21 07:43 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 15:01:32 2024 UTC