Re: problems installing php with apache 2.0.35
| From: | MikeParton | Date: | Tue, 18 Jun 2002 14:19:56 +0000 |
| Subject: | Re: problems installing php with apache 2.0.35 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7369@lists.php.net to get a copy of this message | ||
For PHP 4.2.1 and Apache 2.0.3X you need the following in your httpd.conf:
LoadModule php4_module "path_to/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
The php apache dll is php4apache2.dll vs php4apache.dll
HTH
Mike
----- Original Message -----
From: "José Horácio" <dinamenes@hotmail.com>
To: <php-install@lists.php.net>
Sent: Tuesday, June 18, 2002 10:07 AM
Subject: [PHP-INST] problems installing php with apache 2.0.35
> Hi !
> I have apache 2.0.35 installed in a windows 2000 professional machine.
> It is not an apache update from an older version it is a brend new
> instalation of apache.
> I'm trying to install php 4.2.1 as a module in Apache.
> Following the steps of the install.txt that comes with the php zip
> "php-4.2.1-Win32.zip".
>
> Apache doesn't start and gives this errors
>
> The Apache service named reported the following error:
> >>>Syntax error on line 40 of D:/Program Files/Apache
> >>>Group/Apache2/conf/httpd.conf: .
>
> witch is
> LoadModule php4_module d:/php/sapi/php4apache.dll
>
> and
> The Apache service named reported the following error:
> >>>Cannot load D:/php/sapi/php4apache.dll into server: The specified
module
> >>>could not be found. .
>
> where d:/php/ is the php dir installation.
> the path D:/php/sapi/php4apache.dll is valid and the module exists.
>
> the error
> The Apache service named reported the following error:
> >>>Syntax error on line xx of D:/Program Files/Apache
> >>>Group/Apache2/conf/httpd.conf: .
> also occurs with the line
> AddModule mod_php4.c
>
> i hope that this description is clear about the problem.
> can you help me with this problem ?
>
> thank you.
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>