For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > November 2006 > libphp4.so issues









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author libphp4.so issues
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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com