Setting up PHP to work with Apache

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
ozmart2003
Forum Newbie
Posts: 2
Joined: Wed May 07, 2003 5:43 am
Location: Albury, Australia

Setting up PHP to work with Apache

Post 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
lcidw
Forum Commoner
Posts: 58
Joined: Mon Apr 28, 2003 8:55 am
Location: Netherlands

Post 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?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
ozmart2003
Forum Newbie
Posts: 2
Joined: Wed May 07, 2003 5:43 am
Location: Albury, Australia

Post by ozmart2003 »

Thks, still scratching my head, but I'll figure it out eventually.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

there are also packages that provide complete apache/php/mysql-installations
e.g. http://www.apachefriends.org/wampp-en.html
Post Reply