despairing with apache httpd + php

Erich Dollansky erichsfreebsdlist at alogt.com
Mon Mar 31 16:14:54 UTC 2014


Hi,

On Mon, 31 Mar 2014 16:29:11 +0100
Aled Morris <aledm at qix.co.uk> wrote:

> I'm tearing my hair out trying to get a simple Apache HTTPD and
> mod_php install for running mediawiki (mysql) under
> FreeBSD-10.0-RELEASE
> 
> I can't get a working system whichever way I try.  Either mod_php.so
> doesn't seem to get built or I'm getting XML problems (Class
> 'DOMDocument' not found)

which version of Apache? I have 2.2 running since a few years. But I
did not succeed with 2.4 as the configuration file format changed. This
is just my personal problem and has nothing to do with Apache or PHP.
> 
> I've tried installing packages with the new "pkg" tool
> 
> I've tried compiling from ports.
> 
This is how I have done it. Just get the source, compile and install.
But I do not think that it is important to do it like this. You also
can do a make install and get it all done in a single step.

> I've tried downloading Apache and PHP source and building those.
> 
> Has anyone done this?  I didn't think I was trying anything exotic
> here but I've wasted two days now!

I just upgraded my ports last week and have had no problems then.

Please tell us a bit more like versions, error messages and what works
and what does not work plus you Apache configuration. 

Erich


More information about the freebsd-hackers mailing list