On 08:04:25 Nov 17, Andrei Pirvan wrote: > Hello > > The problem I have is that default apache can't load PHP module. PHP > was installed from packages (php5-core-5.2.6.tgz), so here is nothing > custom made. The only error I have is when I try to start apache is > when I make a configtest. > > # apachectl configtest > Starting Pure-FTPd > Processing config directory: /var/www/conf/modules/*.conf > Processing config file: /var/www/conf/modules/php5.conf > Syntax error on line 1 of /var/www/conf/modules/php5.conf: > Cannot load /usr/local/lib/php/libphp5.so into server: Cannot load > specified object > > Both httpd and php works well separately , and > /usr/local/lib/php/libphp5.so exists. >
Try the "httpd -u" switch to run it outside /var/www chroot. You could insert this into /etc/rc.conf.local. The apache modules live in /usr/local/lib and is consequently outside the chroot. -Girish