OT: apache + php not working

Boris Kochergin spawk at acm.poly.edu
Fri Feb 27 06:21:46 PST 2009

Robert Huff wrote:
> 	Any experts out there willing to do a little off-list advising
> on why my Apache 2.2 server isn't handling php5?
> 				Robert Huff
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
I have several installations of Apache 2.2 with PHP 5 as a module. The 
relevant httpd.conf bits look like this:

LoadModule php5_module  libexec/apache22/libphp5.so
(The above line is added to httpd.conf by the lang/php5 port if you 
compile the module.)
<IfModule dir_module>
    DirectoryIndex index.html index.php

AddType application/x-httpd-php .php

If I'm making some incorrect assumptions about your setup, can you be 
more specific about how you installed both Apache and PHP?


More information about the freebsd-ports mailing list