Really weird one ....

Ben Duncan bns
Wed Jan 25 10:01:08 PST 2006


Thanks .. It is Apache 1.3.3 (?).

Anyway, I have already hard coded into the httpd.conf
the "AddModules" for php and other such things.

httpd -V (which lists the defaults) shows the httpd.conf
files as "/etc/apache/httpd.conf" , so on that I am using the
right one at least ...

Anyway, I am off to carry this sucker to the State Agency, maybe their
expert can help me figure out what is wrong ...

Ken Moffat wrote:
> Ben Duncan wrote:
> 
> Sounds like, if you are using apache2, it needs a link added to
> /etc/apache2/mods-enabled/. There should be a link to
> /etc/apache2/mods-available/php4.conf in there.
> 
> Sory about the formatting, some lines may wrap below.
> 
> [...:/etc/apache2/mods-enabled]$ ls -l
> total 0
> lrwxrwxrwx  1 root root 40 Sep 17 13:41 actions.load ->
> /etc/apache2/mods-available/actions.load
> lrwxrwxrwx  1 root root 36 Aug 19 15:58 cgi.load ->
> /etc/apache2/mods-available/cgi.load
> lrwxrwxrwx  1 root root 37 Oct  2 12:54 php4.conf ->
> /etc/apache2/mods-available/php4.conf
> lrwxrwxrwx  1 root root 37 Oct  2 12:55 php4.load ->
> /etc/apache2/mods-available/php4.load
> lrwxrwxrwx  1 root root 40 Aug 19 15:58 userdir.conf ->
> /etc/apache2/mods-available/userdir.conf
> lrwxrwxrwx  1 root root 40 Aug 19 15:58 userdir.load ->
> /etc/apache2/mods-available/userdir.load
> 
> Another possibility is that in /etc/apache/conf.d (not apache2) you need
> php4.conf:
> 
> ... php4.conf
> 
> <IfModule mod_php4.c>
>   AddType application/x-httpd-php .php .phtml .php3
>   AddType application/x-httpd-php-source .phps
> </IfModule>
> 
> 
> 

-- 
Ben Duncan   - VersAccounting Software LLC 336 Elton Road  Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
        - Hanlon's Razor



More information about the Linux-users mailing list