nysteve Posted October 15, 2007 Share Posted October 15, 2007 So I'm continuing my trip with w3school... up to emailing error logs. The first problem i noticed was that my smtp and send_to vars were not set .. i fixed that but then i noticed that even though I was getting the errors mailed to me, the from address was still strange. Then i did a search for php.ini file (I'm on Vista) in my C:\wamp folder and noticed that there are actually 2 of them, one was in c:\wamp\php and one in c:\wamp\apache2. So then my question why are there 2? They seem identical? Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/73372-two-phpini-files/ Share on other sites More sharing options...
Barand Posted October 15, 2007 Share Posted October 15, 2007 So then my question why are there 2? Don't know, not clairvoyant. However, phpinfo() will tell you which one it is using. Quote Link to comment https://forums.phpfreaks.com/topic/73372-two-phpini-files/#findComment-370176 Share on other sites More sharing options...
nysteve Posted October 15, 2007 Author Share Posted October 15, 2007 Strange; it's using the file in the apache2 folder: //what's the diff between this? Configuration File (php.ini) Path C:\Windows //and this? Loaded Configuration File C:\wamp\Apache2\bin\php.ini Quote Link to comment https://forums.phpfreaks.com/topic/73372-two-phpini-files/#findComment-370184 Share on other sites More sharing options...
BlueSkyIS Posted October 15, 2007 Share Posted October 15, 2007 doesn't make a difference. whichever one it's using is the one it's using. there could be 10000 php.ini files scattered all over your hard drive, but PHP will only use the one. Quote Link to comment https://forums.phpfreaks.com/topic/73372-two-phpini-files/#findComment-370187 Share on other sites More sharing options...
nysteve Posted October 15, 2007 Author Share Posted October 15, 2007 The phpinfo() is quite the function... thanks Barand. Quote Link to comment https://forums.phpfreaks.com/topic/73372-two-phpini-files/#findComment-370209 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.