Sourceforge Gallery2 and PHP

Soo-Hyun Choi soohyunc at users.sourceforge.net
Mon Dec 26 16:25:26 UTC 2005


I followed through your procedures, but Mozilla still doesn't
understand the php file.

1. In the Mozilla window, it says the below if I try to open an index.php file.
<The file "index.php" is of type application/x-php (PHP script), and
Mozilla does not know how to handle this file type.>

2. I have the following soft links in my /etc/apache2/mods-enabled directory.
root at quokka:/etc/apache2/mods-enabled # ll
total 0
lrwxrwxrwx  1 root root 40 Dec 25 18:00 actions.load ->
/etc/apache2/mods-available/actions.load
lrwxrwxrwx  1 root root 36 Dec 24 22:50 cgi.load ->
/etc/apache2/mods-available/cgi.load
lrwxrwxrwx  1 root root 36 Sep 19 16:55 jk2.conf ->
/etc/apache2/mods-available/jk2.conf
lrwxrwxrwx  1 root root 36 Sep 19 16:55 jk2.load ->
/etc/apache2/mods-available/jk2.load
lrwxrwxrwx  1 root root 37 Dec 26 16:30 php5.conf ->
/etc/apache2/mods-available/php5.conf
lrwxrwxrwx  1 root root 37 Dec 26 16:30 php5.load ->
/etc/apache2/mods-available/php5.load
lrwxrwxrwx  1 root root 40 Sep 15 23:06 userdir.conf ->
/etc/apache2/mods-available/userdir.conf
lrwxrwxrwx  1 root root 40 Sep 15 23:06 userdir.load ->
/etc/apache2/mods-available/userdir.load
root at quokka:/etc/apache2/mods-enabled #


Am I still missing something?



On 12/26/05, albi <albi at scii.nl> wrote:
> On Mon, 26 Dec 2005 15:56:47 +0000
> Soo-Hyun Choi <soohyunc at users.sourceforge.net> wrote:
>
> > No. I don't think that I have those part in my Apache2 configuration
> > file. Would you kindly see in which I should insert the part?
> >
> > Here is my Apache2 config file.
> > http://www.cyon.org.uk/~soohyunc/apache2.conf
>
> ok, this works for me (in a terminal) :
>
> sudo su -
> cd /etc/apache2/mods-enabled
> ln -s /etc/apache2/mods-available/php5.load php5.load
> ln -s /etc/apache2/mods-available/php5.conf php5.conf
> /etc/init.d/apache2 restart
>
> --
> grtjs, albi
> gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
>




More information about the ubuntu-users mailing list