Re: PHP doesn't see php.ini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 24, 2009 at 8:32 AM, Tir<tirsatay@xxxxxxxxx> wrote:
> When i installed PHP, I had written to my httpd.conf PHPIniDir "c:/php". But
> phpinfo() returns "C:\WINDOWS" in "Configuration File (php.ini) Path" row
> and right path to my php.ini in "Loaded Configuration File". It looks like
> php.ini really isn't used. I think so because when i try to enable MySQL
> extension it doesn't work ("extension=php_mysql.dll",
> "extension=php_mysqli.dll" and "extension=php_pdo_mysql.dll" is uncommented,
> "extension_dir" is correct, libmysql.dll is copied to C:\WINDOWS\system32).
> I've tried to write to php.ini an abracadabra. But I haven't received an
> error as i expected. I've tried to rename php.ini. phpinfo() has returned
> "(none)" in "Loaded Configuration File" row instead of "c:\php\php.ini" as
> that was before. But PHP still worked. It worked without php.ini. It seems
> very strange. I've searched another php.ini on my system. There is no
> another one. What's wrong? Why doesn't PHP use php.ini file?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Did you use an installer or have another version of php installed at
some point?
-- 

Bastien

Cat, the other other white meat

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux