#27872 [Opn->Bgs]: Where should my php.ini file be located? - Apache
ID: 27872
Updated by: derick@php.net
Reported By: mazsolt at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Windows 2000 Server
PHP Version: 4.3.5
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2004-04-05 12:49:12] mazsolt at yahoo dot com
Description:
------------
hello,
according to the documentation, --> "If you're using the Apache
webserver, php.ini is first searched in the Apaches install directory,
e.g. c:\program files\apache group\apache. This way you can have
different php.ini files for different versions of Apache on the same
machine." <--
I'm using Windows 2000 Server, with Apache 2.0. I run PHP as CGI. I
already have a php.ini (let's name it ini-A) in C:\Winnt, and it works
fine. I tried to add a php.ini to the program files/apache group/apache
folder. in this ini file (ini-B) i changed a directive:
max execution time = 40
Within ini - A, this option has the value of 30.
Now I run a script, which contains a single line: phpinfo().
I looked for the "max execution time" value, and it was 30!!!!
I restarted the server, than the PC, but I got the same value....
within the general options from the returned phpinfo() table, the
Configuration File (php.ini) Path has the value of "C:\WINNT\php.ini".
Is it a bug, or I need to recompile my PHP? Or the above apache-ini
file combination (to search first the apache install directory) works
only on UNIX????
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27872&edit=1
Thread (2 messages)