some php problems

Geoff Shang Geoff at quitelikely.com
Mon Feb 18 09:13:13 UTC 2008


Kristoffer Gustafsson wrote:

> Ok, but how do I enable that?
>
> I've installed every package in debian but i t won't work. only php4 works

Do you have libapache2-mod-php or libapache-mod-php installed, as opposed 
to their version 4 counterparts?

Oh and yo need to actually enable it.

ln -s /etc/apache2/mods-available/php5.load /etc/apache2/mods-enabled/php5.load
ln -s /etc/apache2/mods-available/php5.conf  /etc/apache2/mods-enabled/php5.conf

If you're running apache 1.x, use /etc/apache instead of /etc/apache2 
though it might be done differently there.

Probably good to check the PHP5 config file to check that it's set up how 
you want.

Geoff.




More information about the Blinux-list mailing list