| Sniffle Dog 2006-11-04, 7:57 am |
| 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.
- Lee
|