Re: PHP can't find the php.ini file

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

 



1. Your httpd.conf file shuld have lines soething like thees:"PHPIniDir "C:/Windows/"LoadModule php5_module "C:/PHP/php5apache2_2.dll"AddType application/x-httpd-php .php"
2. remove php.ini file from C:/PHP or whatever your install directoryis, so only one copy of it is on system in C:/Windows folder.
On 25/06/07, Don Denton <denton.don@xxxxxxxxx> wrote:> I know it isn't seeing the file because no matter what I change in the> configuration, the defaults remain on.>> ~Don>> -----Original Message-----> From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer> Sent: Monday, June 25, 2007 10:54 AM> To: php-windows@xxxxxxxxxxxxx> Subject: Re:  PHP can't find the php.ini file>> Hi>> What makes you think it's not finding the configuration file?  phpinfo>  output tells you where the php.ini IS located.>> BTW, it's no longer recommended to keep it in the windows directory.> See the manual setup documentation for preferred methods.>> Niel>> --> PHP Windows Mailing List (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php>> --> PHP Windows Mailing List (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php>>

-- Jānis Ritmanise-mail: Janis.Ritmanis@xxxxxxxxxxxxxxxxx +371 25 99 88 77

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux