Date: 06/30/00
- Next message: Jason Williams: "[PHP-INST] Re: PHP 4.0.1 Make Problems"
- Previous message: R. Stoll: "[PHP-INST] error when configuring php 4.0.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This problem seems to echo others; apache can't load the php module.
When I execute ./apachectl configtest, this message is returned:
Syntax Error on line 224 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
libmysqlclient.so.6: cannot open shared object file : No such file or
directory
I have just rebuilt mysql and php 4.0.1.
I checked syntax and spelling of "LoadModule php4_module
libexec/libphp4.so" in httpd.conf, and compared it to the filename in
libexec; libphp4.so was built just 20 minutes ago, so it's not old.
libmysqlclient.so.6 is in /drv2/bin/mysql/lib with today's (June 30)
date. Should I copy it to ../apache/bin/libexec?
The contents of my PHP 4 configuration script are:
#! /bin/sh
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/drv2/bin/mysql \
--with-pgsql=/usr/local/pgsql \
--enable-track-vars
The contents of the mysql configuration script are:
#! /bin/sh
./configure \
--prefix=/drv2/bin/mysql \
--exec-prefilx=/drv2/bin/mysql
( Comment on the mysql configuration:
I wanted all the mysql stuff in one place, hence the prefix and
exec-prefix.
When mysql builds from source it also creates this strange directory
structure for the lib, like this:
/drv2/bin/mysql/lib/mysql/<libmysqlcli.. files>. I moved them up one
level to lib and then deleted the mysql directory below lib.)
I'll admit my lack of Linux expertise shows here. I think the PHP
config.log has errors in it, but I don't know as they could be configure
looking for things and erroring out, but they are inconsequential. If
you are going to ask me to reconfigure PHP with --with-debug, and run
"gd httpd -X", I'll do so. BUT
1. is gd the Gnu Debugger?
2. Do I execute it from within ...apache/bin?
This is really bewildering, as I got the same error with php 4.0.0, but
installed 3.0.15 and the release candidates for php 4 without
difficulty. (Before you ask, there is NO INSTANCE of php 3.x on the
machine in question and I removed the beta, rc and php-4.0.0
directories)
SO - is this enough information? (While I'm waiting for a reply I'll
recompile without mysql support, just to see what happens.)
Regards - Miles Thompson
-- 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>
- Next message: Jason Williams: "[PHP-INST] Re: PHP 4.0.1 Make Problems"
- Previous message: R. Stoll: "[PHP-INST] error when configuring php 4.0.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

