4

PHP on Slackware 13 64

view full story
linux-howto

http://www.linuxforums.org – Hello, I am trying to get PHP5 working on Apache 2.2.13. When loading the PHP file in the web browser, the server does not appear to be passing the php off to the interpreter. Instead, the browser just treats the first command as an HTML comment and displays the rest to the user. Relevant lines from httpd.conf: LoadModule php5_module lib64/httpd/modules/libphp5.so AddType text/html .php #AddType application/x-httpd-php .php AddHandler php-script .php The second AddType is commented out because it causes Firefox to try and download the php instead of displaying it. (HowTos)