You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by NECTIS Service Management Center <SM...@nectis.com> on 2003/10/19 00:05:22 UTC

[users@httpd] PHP not works after Apache upgrade!

Hello List,
After upgrade Apache to 1.3.27 and latest PHP for RedHat 7.1
I can not starts any *.php files - it shown just content of files.
What I found is I have no anymode mod_php4.c files that is configured in
httpd.conf.
And php has written inly libphp4.so.

Bafore upgrade it was fully OK!

I think it is an httpd.conf problem, but I don't know what I need write
more - have standart config...

Thanks in advance,
SMC



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] PHP not works after Apache upgrade!

Posted by Leif W <wa...@usa.net>.
Try reading the docs for the answers.  It's really in there.  Look in the
php-4.3.x directory for the INSTALL file.

You'll likely need things which look like this in your httpd.conf.  If you
don't know where to put them, read the INSTALL file.

Static Module:
AddModule modules/php4/libphp4.a
Module php4_module mod_php4.o

Dynamic Module:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c

Either way:
AddType application/x-httpd-php .php

Try hitting a test.php file with this in it:
<?php

phpinfo();

?>

Leif

----- Original Message ----- 
From: "NECTIS Service Management Center" <SM...@nectis.com>
To: <us...@httpd.apache.org>
Sent: Saturday, October 18, 2003 6:05 PM
Subject: [users@httpd] PHP not works after Apache upgrade!


> Hello List,
> After upgrade Apache to 1.3.27 and latest PHP for RedHat 7.1
> I can not starts any *.php files - it shown just content of files.
> What I found is I have no anymode mod_php4.c files that is configured in
> httpd.conf.
> And php has written inly libphp4.so.
>
> Bafore upgrade it was fully OK!
>
> I think it is an httpd.conf problem, but I don't know what I need write
> more - have standart config...
>
> Thanks in advance,
> SMC
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org