Click to See Complete Forum and Search --> : [RESOLVED] works with no php.ini file???!?


djdaz
06-12-2007, 03:24 PM
Hey
Recently formatted my server, and i'm just going through installing everything again.

I've got Apache V2.0.59 and php V4.4.7 running on a windows 2000 computer.

This works fine, and as expected. Exept gd2, so i uncommented the extension in php.ini, restarted, didn't work. Pondered over this for an hour before deciding to delete php.ini and see if php still worked, to my surprise it did.

So i searched for other php.ini files that may be on my system, the search found 0.

How is PHP managing to run fine with no php.ini?

djdaz
06-12-2007, 04:03 PM
Fiddeled around a bit and managed to get it working.

bradgrafelman
06-12-2007, 07:27 PM
I'm assuming you added the PHPIniDir directive into your Apache's httpd.conf file?

Anyway, don't forget to mark this thread resolved.

djdaz
06-13-2007, 06:14 AM
I'm assuming you added the PHPIniDir directive into your Apache's httpd.conf file?

Anyway, don't forget to mark this thread resolved.

Spot on, silly me.