Re: Apache + PHP4 = Problem
| From: | Robert Sliwa | Date: | Thu, 28 Dec 2000 14:14:04 +0000 |
| Subject: | Re: Apache + PHP4 = Problem | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4698@lists.php.net to get a copy of this message | ||
!! It works.
The probem was in httpd.conf.
Was:
AddType application/x-httpd-php4 .php4 .php .php3
Action application/x-httpd-php4 "/php4/php.exe"
Should be:
AddType application/x-httpd-php .php4 .php .php3
Action application/x-httpd-php "/php4/php.exe"
And that's it.
phobo wrote:
>
> I cant get 4.0.4 and 1.3.14 to work, either :(
> except im using linux....
>
> siggy
>
> ----- Original Message -----
> From: "Robert Sliwa" <rsliwa@fttwolbrom.com.pl>
> To: <php-windows@lists.php.net>
> Sent: Thursday, December 28, 2000 11:01 PM
> Subject: [PHP-WIN] Apache + PHP4 = Problem
>
> > Configuration:
> >
> > PHP 4.0.4 instaled in e:\php4
> > Apache 1.3.14 instaled in e:\apache
> >
> > httpd.conf :
> > ...
> > LoadModule php4_module e:/php4/sapi/php4apache.dll
> > ...
> > ScriptAlias /php4/ "E:/php4/"
> > AddType application/x-httpd-php4 .php4 .php .php3
> > Action application/x-httpd-php4 "/php4/php.exe"
> >
> > php.ini :
> >
> > extension_dir ="e:\php4"
> >
> >
> > And it doesn't work. When i try to execute
> >
> > >php.exe some.php
> >
> > It works fine, and when I try to run
> > http://hostname/test.php, then
> > server hungs. Every try causes that one "php" process
> > hangs.
> >
> > Any sugestions?
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net