Click to See Complete Forum and Search --> : Help installing PHP for Apache server


clairec666
12-08-2003, 07:23 AM
Help! I've finally entered the 'serverside wilderness' and managed to install apache on my computer (after alot of trouble!)
I installed PHP, MySQL and Apache from a CD, and the book gives instructions on how to make Apache understand PHP. I'm not quite sure how this works - I've followed the instructions on how to edit the httpd.conf file, but when I save a PHP file on the server adn open it up in IE, I just see the code displayed. Can anyone help?

Another Apache question: I can open .htm files through the server, but not .html
Originally, I could open both file types, but now I get an error.

pyro
12-08-2003, 09:47 AM
Which version of PHP and Apache? Also, I'd recommend following the installation file that comes with PHP, rather than the instructions on the CD that you've got.

clairec666
12-08-2003, 09:50 AM
I'm not sure what versions, I haven't got it with me at the moment.

I noticed in another post (a few days ago?) that you recommended the abyss server. At least I think it was you who recomended it, it might not have been (sorry!). Do you think this would be better for me, since I am only testing out PHP on my own computer?

pyro
12-08-2003, 09:53 AM
I only recommend abyss web server for those who are not up to running an Apache server. ;) But yes, I have found that it is much easier for those not framiliar with servers/PHP to install that server, and the CGI build of PHP.

clairec666
12-08-2003, 09:59 AM
Cheers, I'm not quite up to the Apache stuff yet :D
As long as I can start testing out some simple PHP it will be fine