Page 1 of 1

Setting up PHP to work with Apache

Posted: Wed May 07, 2003 5:43 am
by ozmart2003
Hi. I just took the plunge and am trying to set up the work environment for Apache/PHP and MySQL on Windows XP.

I have installed the latest MySQL ok.
I have installed Apache 1.3
I have installed PHP 4.31 (windows installer)

Now I'm stuck trying to figure out how to configure Apache to work with PHP. The install readme file was a little arcane and after mentioning a couple of things finished off with ' we regard this method of doing it as suicidal' or words to that effect. This does not inspire much confidence :-)

I'm used to working with IIS and Access so this is pretty different. I think I must be almost there. What else nees to be done?

Please help if you can. Cheers
Martin

Posted: Wed May 07, 2003 5:49 am
by lcidw
Which install readme was that? 8O

The install readme delivered with the PHP package is very good, for sure good enough for Apache. See the part where the 'php as apache-module' is explained.

I don't know about the php4 windows installer, didn't it modify your apache config already?

Posted: Wed May 07, 2003 5:51 am
by twigletmac
Have you worked through these configuration instructions?
http://www.php.net/manual/en/install.apache.php

How far along have you got in the configuration?

Mac

Posted: Wed May 07, 2003 6:16 am
by ozmart2003
Thks, still scratching my head, but I'll figure it out eventually.

Posted: Wed May 07, 2003 9:35 am
by volka
there are also packages that provide complete apache/php/mysql-installations
e.g. http://www.apachefriends.org/wampp-en.html