[Ukfreebsd] apache and php

Stefan Bethke stefan.bethke at hanse.de
Mon Nov 17 10:26:04 GMT 2008


Am 17.11.2008 um 10:52 schrieb Steve Brownjohn:

> I've installed Apache 2.2 and php5 from updated ports (FreeBSD 6.3).  
> I'm trying to set up a test site with drupal, but apache serves up  
> my *.php files as plain text. It seems I need libphp5.so or similar,  
> but I can't find that anywhere on my system. Neither is there a  
> mod_php in the Apache directories.

Double check that you selected the Apache module when you installed  
php5, the option is off by default. Rerun make config in /usr/ports/ 
lang/pgp5 if necessary, make reinstall.

I stumble over this almost every time I set up  a fresh machine, very  
annoying.


HTH,
Stefan



More information about the Ukfreebsd mailing list