i have a problem starting Apache after installing PHP. specifically after i add the following httpd.conf:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
when test the Apache config i get:
[root@darkness php-4.4.4]# apachectl configtest
Syntax error on line 208 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: cannot open shared object file: No such file or directory
i used the following options for the Apache installation:
./configure --prefix=/usr/local/apache --enable-module=info --enable-module=so
and the following options for the PHP installation:
./configure --with-mysql --with-apsx=/usr/local/apache/bin/apxs
both seemed to install just fine, Apache runs (without the PHP LoadModule and AddModule directives) and php itself seems to run from the shell without any issues. i do apologize if this is a weak question and i very much appreciate any help.
- Lee
- Follow-Ups:
- Re: libphp4.so issues
- From: brian
- Re: libphp4.so issues
- Prev by Date: fcgi pdo_mysql connect problem
- Next by Date: Re: libphp4.so issues
- Previous by thread: fcgi pdo_mysql connect problem
- Next by thread: Re: libphp4.so issues
- Index(es):