php.ini not loaded - PHP

This is a discussion on php.ini not loaded - PHP ; I installed Apache 2.2 and PHP 5.24 on a Win 2003 Server. Everything runs fine, but the php.ini is not loaded. phpinfo() tells me Configuration File (php.ini) Path C:\WINDOWS Loaded Configuration File (none) The path is correct and the php.ini-file ...

+ Reply to Thread
Results 1 to 2 of 2

php.ini not loaded

  1. Default php.ini not loaded

    I installed Apache 2.2 and PHP 5.24 on a Win 2003 Server. Everything
    runs fine, but the php.ini is not loaded.

    phpinfo() tells me

    Configuration File (php.ini) Path C:\WINDOWS
    Loaded Configuration File (none)

    The path is correct and the php.ini-file is located in c:\windows. The
    rights are set and -just to be careful- the PHPRC-enviroment-var. is
    set to c:\windows (actually needless, since phpinfo shows the correct
    path...)

    I've searched the net but found no answer - any idea?

    Thanks


  2. Default Re: php.ini not loaded

    Answering my own question for other victims...

    In the http.conf the PhpIniDir was set to "C:\PHP" but phpinfo()
    labels "C:\WINDOWS" as the Configuration File Path anyway!!!! So don't
    rely on phpinfo()... ;-)


+ Reply to Thread

Similar Threads

  1. just loaded 9.3
    By Application Development in forum Graphics
    Replies: 9
    Last Post: 09-11-2007, 11:09 AM
  2. Look for loaded DLL
    By Application Development in forum DOTNET
    Replies: 1
    Last Post: 01-09-2007, 04:39 PM
  3. when is DLL:s loaded?
    By Application Development in forum DOTNET
    Replies: 2
    Last Post: 09-22-2005, 06:21 AM
  4. Is a from loaded
    By Application Development in forum basic.visual
    Replies: 3
    Last Post: 01-12-2004, 03:25 PM
  5. Replies: 0
    Last Post: 06-27-2003, 06:51 PM