Page 1 of 1

[SOLVED]Problem with installation of PHP on APache

Posted: Fri Oct 15, 2004 9:32 am
by Kingo
Hello,
I'm having problems with the installaation of PHP.
Initially I have installed PHP with IIS successfully.

Now I have stopped the IIS and installed the Apache web server.
I have downloaded the PHP_Windows installer and am trying to install it. I get the following errror. "Have to configure the http.conf file of the Apache web server."
I added the following lines to the bottom of the configuration file.

ScriptAlias /php/ "c:/php/"

AddType application/x-httpd-php .php .phtml

Action application/x-httpd-php "/php/php.exe"


Any help is really appreciated.

Posted: Fri Oct 15, 2004 9:41 am
by twigletmac
The windows installer isn't really much use with Apache, have you followed these instructions exactly (which one would depend on your version of Apache):

Apache 1.3: http://php.net/manual/en/install.windows.apache1.php
Apache 2.0: http://php.net/manual/en/install.windows.apache2.php

The directives have to be added within specific places in the http.conf.

Mac

Posted: Fri Oct 15, 2004 10:27 am
by phpScott
I would have to disagree, i quite like the msi for apache but you do have to follow the instruction carefully.
Apache also gets grumpy with other web servers running on the port so you will have to check that out.
I believe there was a post on this not to long ago.

Posted: Fri Oct 15, 2004 11:57 am
by timvw
i didn't know the installer works for apache(1|2).

there used to be times that it didnt work, and probably because i'm used to it now, i prefer to install it manually from the zip file :)

Thanx

Posted: Fri Oct 15, 2004 1:27 pm
by Kingo
Thanx. I installed it manulayy using the zip file and is now working

Directory Name

Posted: Fri Oct 15, 2004 2:00 pm
by Kingo
Directory Name