AddModule mod_php5.c

Gert Cuykens gert.cuykens at
Tue Feb 1 03:04:52 PST 2005

On Tue, 1 Feb 2005 11:44:21 +0100, Gert Cuykens <gert.cuykens at> wrote:
> me becomming a bit nuts, how do you make php 5 work on apache 2 ?
> LoadModule php5_module libexec/apache2/
> AddModule mod_php5.c
> 7rxI# apachectl restart
> Syntax error on line 109 of /usr/local/etc/apache2/httpd.conf:
> Invalid command 'AddModule', perhaps mis-spelled or defined by a
> module not included in the server configuration
> 7rxI#

ok it works now and i have no idea why lol except for this message

The $cfg['PmaAbsoluteUri'] directive MUST be set in your configuration file!
The mbstring PHP extension was not found and you seem to be using
multibyte charset. Without mbstring extension phpMyAdmin is unable to
split strings correctly and it may result in unexpected results.

How do you fix that ?

More information about the freebsd-apache mailing list