Welcome to WebmasterWorld Guest from 54.160.187.160

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

PHP.ini doesn't load

PHP.ini doesn't load on Apache localhost

     
2:13 am on Feb 18, 2013 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 3, 2005
posts: 64
votes: 0


Can anything be more frustrating than configuring Apache/PHP/MySQL on your PC? I don't think so!

The whole sleepless night later I finally managed to make Apache work with some matching version of PHP. Problem, however, remains that I cannot possibly make Apache load the php.ini file. It works with some default configuration and just refuses to load the .ini file no matter what voodoo I do with the httpd config or anything else. It's not the "PHPIniDir" problem as everyone suggests on the forums, because if I screw with the PHPIniDir directive in httpd config then Apache stops working at all. Meaning that it reads the directive, and, presumably, considers it right. Regardless of whether I point it to c:windows or c:php5 it appreciates it and doesn't load ini file anyway. Please help, anyone...!
1:34 pm on Feb 18, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:May 6, 2008
posts:2011
votes: 0


Are you trying to create your own server or just doing testing? If the latter, you'd be much better off running WAMP (or some variant).
8:18 pm on Feb 19, 2013 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 3, 2005
posts: 64
votes: 0


Testing, yes. But the software I downloaded is written so that it doesn't work with any WAMP or EasyPHP servers unless it's a 100% hosting server... I tried it on most of platforms. Well... I expect I could configure WAMP some needed way if I knew how, but I don't.