Click to See Complete Forum and Search --> : No automatic install of PHP with Apache
starfox
03-21-2004, 09:26 PM
Hello:
I have tried to install Php 4.3.1 using Apache 1.3.27 on a machine running Windows XP professional with IIS.
Unfortunatelly the automatic installation couldn't perform the whole installation and says that the module for installing Php on Apache has not been written yet and that I must do the configuration manually.
Could anyone please help me by telling me where to find a manual in order to do this installation.
In case it is important I am trying to use this applications to set up a system that will manage an inventory.
Thanx
Starfox
WaveyDavey
03-23-2004, 07:59 AM
I Assume you will be dumping IIS (and using apache instead, of course).
Get php win32 binary from http://uk.php.net/get/php-4.3.4-Win32.zip/from/a/mirror
or http://www.php.net/downloads.php
(get the zip package is my advice, not the installer)
unzip it on to your XP Pro box into c:\php
copy php.ini-dist to php.ini
edit apache httpd.conf and set up for cgi (see the install notes with php, but basically do following with apache)
ScriptAlias /php/ "c:/php4/"
(tell is where php lives)
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php
(tell it what type of thing a .php file is)
Action application/x-httpd-php "/php/php.exe"
(tell it what to do with this type ie run php.exe in (scriptaliesed) php location /php/ which expands to C:/php4)
HTH
WaveyDavey
piersk
03-23-2004, 09:10 AM
Originally posted by starfox
I have tried to install Php 4.3.1 using Apache 1.3.27 on a machine running Windows XP professional with IIS.
Theres one of your problems. Although it's possible, it's not a good idea to run two webservers like that.
You could have them on different ports, but IIS has a habit of jumping in front. I installed both and had IIS on port 81 and apache on 80, but whenever i went to: http://localhost (thereby using 80 by default) it automatically jumped to http://localhost:81, and thereby using IIS instead.
I suggest choosing between on of them and removing the other.
If what you are looking for is just an installer, and don't mind not being able to use extensions such as gd, then just download the installer from the PHP website as WD suggests.
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.