[thelist] phantom php.ini (on winxp)

Burhan Khalid thelist at meidomus.com
Thu Jun 30 02:27:56 CDT 2005


Sam Foster wrote:
> anyone,
> Does the Configuration File (php.ini) Path output by phpinfo() actually 
> mean anything on a windows machine? It says my php.ini is in c:\windows. 
> Its not. Actually I've removed every php.ini I can find (searching all 
> directories in my path, as well as c:\php5 .. in fact I did a find 
> across all localdrives for good meaure.).. when I restart Apache - php 
> is still running. My apache httpd.conf by the way uses the SETENV 
> directive to point it at c:\php5.  (SetEnv PHPRC C:/php5)

If PHP detects no php.ini file, it will use a built-in default 
configuration.

If you are using Apache2, then use the PHPIniDir directive in httpd.conf 
to point it to the directory where php.ini exists for your system.

More information : http://www.php.net/manual/en/install.windows.apache2.php


More information about the thelist mailing list