Really weird one ....

Ken Moffat kmoffat
Wed Jan 25 09:38:21 PST 2006


Ben Duncan wrote:

> Ok, this IS strange ...
>
> I have My DEFAULT Slackware 10.2 setup, PHP 4.4.0 and Apache
> and mysql all setup and RARIN' to go.
>
> Now when I go to http://10.10.1.100/horde and select some php
> setup scripts using FireFox, it shows ONLY source.
>
> When I do it using Konquereor, the damn things work ....
>
> Any Suggestions on this ?
>
>
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>



-- 
ken



More information about the Linux-users mailing list