Good PHP install tutorial for linux:
http://www.linuxguruz.org/z.php?id=31
This may solve your problem.
# Uncomment or Change the following lines in
/usr/local/apache/conf/httpd.conf
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.php3 index.phtml
</IfModule>
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .html .htm .php .php3 .phtml
AddType application/x-httpd-php-source .phps
cp /usr/local/php-4.1.0/php.ini-dist /usr/local/apache/conf/php.ini
"Michiel Van Otegem )" <[EMAIL PROTECTED]> wrote in message
002501c18bf9$c1fa52d0$[EMAIL PROTECTED]">news:002501c18bf9$c1fa52d0$[EMAIL PROTECTED]...
Here's the deal...
I've downloaded Redhat 7.2, created two CDs and installed it.
I installed it with Apache and all the PHP modules.
I found out that Apache didn't run autmoatically after booting, so I changed
that. Apache now runs fine.
However, when I request a PHP file, I get the contents of the PHP file,
without it being executed by the server.
When I open the Apache Config tool, I see index.php set as the default page,
so why isn't any .php file being executed?
I tried chmodding so it has execute rights... nothing.
My files are in the root webdir (index.html loads fine over HTTP), so it
should work.
Anybody have clue what I have to do? Thanks.
/Michiel
--
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]