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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux