Re: Re: PHP config issues when moving from Fedora to SuSe

From: Date: Tue, 05 Apr 2005 20:08:29 +0000
Subject: Re: Re: PHP config issues when moving from Fedora to SuSe
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-212295@lists.php.net to get a copy of this message
There's /etc/apache2/httpd.conf that basically just has a bunch of includes. Don't wanna touch that. There's /etc/apache2/default-server.conf that looks like it's where the action is. And there's a /etc/apache2/conf.d/php4.conf file that has specific php commands, such as.... <IfModule sapi_apache2.c>
       AddType application/x-httpd-php .php
       AddType application/x-httpd-php .php4
       DirectoryIndex index.php
       DirectoryIndex index.php4
</IfModule> But I can't find where any of the Apache config files point to the php4 config file. Do I need to add an include in default-server.conf? (Shouldn't the install have done that? Silly install!) Where else might I look? Thanks, Whil
in my /etc/apache2/default-server.conf their is a directive to load all conf files. Include /etc/apache2/conf.d/*.conf
Yup, already got this directive in default-server.conf (and it's NOT commented out!)
mod_php4.conf is located in the conf.d directory
I don't have mod_php4.conf, just php4.conf. I thought that the mod_php4.conf was for backward compatibility. My server (which is processing php fine) doesn't have the mod_php4.conf file. I did a double-check and it sure looks to me like the conf files on both my server and my dev box are the same. Whil

« previous php.general (#212295) next »