SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I did a full installation of Slackware 9.0 and I'm trying to get the PHP module to work with Apache. So far, no matter what I do, the php tags (such as <?php phpinfo(); ?>) are visible in the output to the browser.
When I restart Apache, a notice is added to the error_log file, saying PHP is configured. This leads me to believe that PHP is actually running, and just not recognizing the tags.
The mod_php.conf file is being included from httpd.conf, so the LoadModule and AddType lines are being included, and I've tried putting those lines in different places within the httpd.conf file with no results. The php files have read and execute permissions set so this shouldn't be an access problem, either.
The original versions were Apache 1.3.27 and PHP 4.something. I've reinstalled them a dozen times, including from source, and now am running Apache 1.3.29 and PHP 4.3.3 (installed from the current distribution's packages). I've gotten the same results each time.
If anyone has any ideas on what might be wrong, it would be greatly appreciated.