[Gllug] debian Sarge Apache2 php not working

Richard Huxton dev at archonet.com
Mon May 14 14:59:58 UTC 2007


Rhys Powell wrote:
> Hello All,
> 	Just recently run a dist-upgrade on a remote debian box that I have. 
> Being a fedora bod at heart and possibly believing all the hype that 
> debian was good at this I had no fears, seems I was a bit too trusting 
> as now its not recognising php as an appropriate mime type.
> 
> I've had a fish around and both php4 and php5 appear to be installed, so 
> tried to apt-get libapache2-mod-php4 (and 5) and both fail to install. 
> php4 is in the mods-available directory but once the symlink from 
> mods-enable is setup it fails for libapachephp4.so missing.

What happens with "apt-get install libapache2-mod-php4"? You should get 
some sort of error message.

Looks like you also need php4-common (and probably php4-pear/mysql/etc 
for actual applications)
   dpkg-query --list '*php4*'

-- 
   Richard Huxton
   Archonet Ltd
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list