Sniffle Dog wrote:
hi,
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.
Do you see libphp4.so in /usr/local/apache/libexec/ ?
brian
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]