I've just finished getting my slackware machine up & running (i chose to install all the packages from cd). php seems to be installed, but apache isn't executing the code - it simply displays the source code in the browser as if it were a normal text file.
httpd.conf contains this line:
#Include /etc/apache/mod_php.conf
which looks like this:
root@justice:/etc/apache# more mod_php.conf
#
# mod_php - PHP Hypertext Preprocessor module
#
# Load the PHP module:
LoadModule php4_module libexec/apache/libphp4.so
# Tell Apache to feed all *.php files through the PHP module:
AddType application/x-httpd-php .php
# This will display PHP files in colored syntax form. Use with caution.
#AddType application/x-httpd-php-source .phps
Any ideas how i can go about troubleshooting this?
thanks in advance!