New Install Question
| From: | php at swimwebs dot com | Date: | Wed, 13 Jul 2005 22:40:02 +0000 |
| Subject: | New Install Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-218652@lists.php.net to get a copy of this message | ||
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