Posted by php on 07/14/05 01:40
We just set up a new webserver using Apache 2 and PHP5. When I
transferred all the files over from my old server, I saw that none of
the PHP files are being rendered (i.e. I see the PHP source instead of
the resulting HTML).
Here is the PHP.conf file we are using:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php5_module modules/libphp5.so
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
What am I doing wrong? Or there another setting I need to set
somewhere?
Thanks,
Robbert van Andel
Navigation:
[Reply to this message]
|