On Fri, 6 Apr 2001 [EMAIL PROTECTED] 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!
------------------------------------------------------------------------


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to