|
Posted by Oli Filth on 06/14/05 03:16
Fred Atkinson said the following on 14/06/2005 00:59:
> I'm running Apache 1.3 on my server. I've run the installer
> file for PHP 5.0.4.
>
> I paste the following code into the httpd.conf file:
>
> # Add to the end of the LoadModule section
> LoadModule php5_module "C:/php/php5apache.dll"
>
> # Add to the end of the AddModule section
> AddModule mod_php5.c
>
> # Add this line inside the <IfModule mod_mime.c> conditional brace
> AddType application/x-httpd-php .php
>
> # For syntax highlighted .phps files, also add
> AddType application/x-httpd-php-source .phps
>
> Then, I go to the DOS prompt and type 'net stop apache'.
> After it stops, I type 'net start apache'. I keep getting an error
> message saying that Apache did not start.
>
> The weird thing is tha there is no php5apache.dll file in the
> C:\PHP subdirectory.
You're mixing up two different install procedures ;). The PHP installer
package automatically sets up the CGI version of PHP. The rest of what
you've done is for the Apache module version of PHP (which requires
php5apache.dll).
Scrap what you've done (uninstall, delete, whatever). Then download the
Windows Binaries PHP 5.0.4 zip package at http://www.php.net/downloads.php.
Then follow the instructions at
http://www.php.net/manual/install.windows.manual.php and
http://www.php.net/manual/install.windows.apache1.php, ignoring *all*
bits that refer to the CGI version.
--
Oli
[Back to original message]
|