LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack-8.1: Apache + mod_php (https://www.linuxquestions.org/questions/slackware-14/slack-8-1-apache-mod_php-25224/)

pickledbeans 07-06-2002 11:50 PM

Slack-8.1: Apache + mod_php
 
Well now this is kind of strange? I installed apache-1.3.26
and mod_php during install, and checked to make sure
that mod_php.conf is in /etc/apache.

But for Apache still doesn't accept my php pages?
Also I've tryed uncommenting the Include mod_php.conf
statement in httpd.conf, and then it tells me it's already loaded.

TIA,
David

CARTMAN 07-07-2002 11:18 AM

Did you add AddType application/x-httpd-php .php in httpd.conf ?

pickledbeans 07-07-2002 11:40 AM

Slack-8.1 users a mod_php.conf which contains all that.

If I unncomment the Include line in httpd.conf:
Include /etc/apache/mod_php.conf

It works but still give me an error:


[Sun Jul 7 10:53:59 2002] [warn] module mod_php4.c is already added, skipping
/usr/sbin/apachectl start: httpd started

Thanks,


All times are GMT -5. The time now is 06:52 PM.