« May 15, 2007 | Main | May 24, 2007 »

May 16, 2007 Archives

May 16, 2007

PHP 5.2.2 Setup on Windows

I've just been setting up PHP 5.2.2 on Windows XP Pro, with Apache 2.0.59. I couldn't get Apache to find the correct php.ini file. It was looking in C:\Windows, instead of where I installed PHP. The httpd.conf file told Apache to look in C:\Program Files\PHP, but it wasn't. So none of the extensions were loading.

I figured out that changing the back slashes to forward slashes fixes the problem. I wanted to blog about this as The Underground PHP and Oracle Manual that we've just released doesn't mention this problem, and you may encounter it yourselves. So if you do, you know the fix. And yes, I've logged a bug with PHP for this. :-)

About May 2007

This page contains all entries posted to Alison Holloway's Blog in May 2007. They are listed from oldest to newest.

May 15, 2007 is the previous archive.

May 24, 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle