PHP & Apache on Slackware 8.1 not working
I recently installed Slackware 8.1 on an old Pentium I . I'm trying to get the typical LAMP (Linux, Apache, MySQL, PHP) configuration running. I got MySQL working (finally). But Apache won't serve up a PHP file properly. That is, each time I browse to test.php, the browser asks if I want to download the file.
I've added the following lines to my httpd.conf file: AddType appliation/x-httpd-php .php AddType appliation/x-httpd-php-source .phps So here's my question... Does the stock Apache/PHP installation on Slackware 8.1 work? Or am I going to have to download Apache and PHP and build the LAMP setup from scratch? If the stock installation does work, please tell me what I'm missing. |
have you activated the mod_php in the http.conf ?
|
When I uncomment the mod_php and mod_ssl lines at the end of the httpd.conf file, then kill and restart httpd, I get the following warnings
[warn] module mod_php4.c is already added, skipping [warn] module mod_ssl.c is already added, skipping I'm not sure what the warnings are for, but PHP works now. Thanks! |
Quote:
Anyone care to clear it up for the rest of us? :) |
All times are GMT -5. The time now is 06:55 AM. |