[PHP-INSTALL] Module not found, but it friggin' exists! From: Brian Clark (brianj <email protected>)
Date: 06/26/00

Howdy,

Slight problem on BSDi 4.0.1 (I can't stand BSDi by the way! It's one,
busted up OS).

(1) Apache built with:

% ./configure --prefix=/var/www/apache --enable-module=all
% make ; make install
% /var/www/apache/httpd -l | grep mod_so
   mod_so.c

(2) MySQL built with:

% ./configure
% make ; make install

(3) PHP 3.0.16 built with:

% ./configure \
--with-apxs=/var/www/apache/bin/apxs \
--with-mysql \
--enable-track-vars \
--enable-magic-quotes \
% make ; make install

(4) Then, I checked httpd.conf to make sure it's correct:

% locate.updatedb
% locate libphp3.so
/usr/src/php-3.0.16/libphp3.so
/var/www/apache/libexec/libphp3.so
%
% grep php /var/www/apache/conf/httpd.conf
LoadModule php3_module libexec/libphp3.so
# http://www.php.net) will typically use:
AddType application/x-httpd-php3 .php3 .php .phtml
AddType application/x-httpd-php3-source .phps

(5) When I try to start apache, it dies and says it can't find libphp3.so! WTF!

% apachectl start
Syntax error on line 207 of /var/www/apache/conf/httpd.conf:
Cannot load /var/www/apache/libexec/libphp3.so into server: File not found
/usr/bin/apachectl start: httpd could not be started

Line 207 reads:

# Example:
# LoadModule foo_module libexec/mod_foo.so
LoadModule php3_module libexec/libphp3.so

I have also tried the full path (/var/www/apache/libexec/libphp3.so).
libphp3.so is chmod 755. I've checked that line for excess white-space and
other funkiness and I can't figure out what the deal is.

Anyone?

Thanks for your help!

Brian

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>