Re: I'm having problems installing PHP with Apache on RedHat 7
| From: | Joe Laffey | Date: | Fri, 06 Apr 2001 18:27:34 +0000 |
| Subject: | Re: I'm having problems installing PHP with Apache on RedHat 7 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2705@lists.php.net to get a copy of this message | ||
On Fri, 6 Apr 2001 sousa.hugo@adlittle.com wrote:
> Hi all.
> I'm using ReHat 7 with the latest versions of Apache and php (4).
>
> I've done all the steps to install php with apache but when I create code
> in php the webserver doesn't recognize the code, I only can code in HTML!
>
> Something is missig, can you tell me what?
Did you put this kind of stuff in your httpd.conf?
LoadModule php4_module modules/libphp4.so # should be YOUR path
AddModule mod_php4.c
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4 #Some people use
AddType application/x-httpd-php .php3 #these extensions
AddType application/x-httpd-php-source .phps
</IFModule>
Check your apache error log for reports of problems.
Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
----------------------
Need to do multi-file string replacement in Un*x, but don't want to mess
with sed? Try rpl. It's a free text replacement utility with source.
http://www.laffeycomputer.com/rpl.html --
Check it out!
------------------------------------------------------------------------