PHP: Dirty install…
Posted on April 1, 2007
Filed Under Uncategorized | Leave a Comment
Okay, I can see why I wasn’t attracted to php in the first place. Jeez…when you start reading about how to install it on IIS, for XP Pro, Service Pack 2 the fun begins. Not many clear postings on just how you should do this. Half saying you need to hack it together using the php zip bundle, the other half saying use the php msi installer. Danger Robinson, Danger! I smell trouble…
So I decided to ditch both and use Apache as my web server. I trust Apache.
I opted for Apache2. Silly me. The php 4.4.6 bundle has an php4apache2.dll that apache2 needs to load as a module for php to work. All is going well until I get hit with this:
httpd: Syntax error on line 115 of C:/Tools/ApacheSoftwareFoundation/Apache2.2/conf/httpd.conf: API module structure `php4_module’ in file C:/php/sapi
/php4apache2.dll is garbled – perhaps this is not an Apache module DSO?
After some digging around and more web waffle I notice two things:
- If you see this message you need to re-compile. I don’t believe it. I’m too old to be doing this, I just want to work with trusted binaries. Why can’t I do that? Sigh.
- On the php4 docs I see in the small print, Apache supported, Apache2 (experimental). Nice!
Out goes Apache2. In comes Apache 1.3.17. After some digging around this article was my light at the end of the tunnel. Panic over, I am now php4 sorted. Now to the tutorials…
Comments
Leave a Reply

