problem installing PHP-4.04pl1/mysql
| From: | Michael Middleton | Date: | Tue, 13 Feb 2001 13:50:52 +0000 |
| Subject: | problem installing PHP-4.04pl1/mysql | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2043@lists.php.net to get a copy of this message | ||
Hi,
I'm having problems starting Apache with PHP4 and MySQL
I#m using a Sun Ultra with Solaris 2.8, gcc 2.95,
Apache 1.3.17 with mod_ssl, MySQL 2.23.32, PHP 4.04pl1
Everything works fine until I try to include MySQL. I've got Apache
running without PHP and with a cutdown version of PHP. When I try to
include MySQL and start Apache I get
rrzs18:/# /www/Apache/bin/apachectl configtest
Syntax error on line 235 of /www/Apache/conf/httpd.conf:
Cannot load /www/Apache/libexec/libphp4.so into server: ld.so.1:
/www/Apache/bin/httpd: fatal: libmysqlclient.so.10: open failed: No such
file or directory
But it's there:
rrzs18:/# ls -l /db/mysql/lib/mysql/
...
lrwxrwxrwx 1 root other 24 Feb 13 12:49
libmysqlclient.so.10-> libmysqlclient.so.10.0.0
-rwxr-xr-x 1 mysqld www 140376 Feb 13 12:49
libmysqlclient.so.10.0.0
...
Configuration:
Apache:
./configure --prefix=/www/Apache --enable-module=most
--logfiledir=/wwwlog/logs \
--enable-shared=max --enable-module=ssl --disable-shared=ssl \
--verbose --with-perl=/www/local/perl-5.004/bin/perl
MySQL
./configure --prefix=/db/mysql --localstatedir=/db/mysql/databases \
--with-unix-socket-path=/tmp/mysql --enable-thread-safe-client \
--with-mysqld-user=mysqld \
--with-charset=german1 --enable-shared --without-bench
PHP
./configure --prefix=/www/local --exec-prefix=/www/PHP \
--with-apxs=/www/Apache/bin/apxs \
--with-mysql=/db/mysql \
--with-config-file-path=/www/Apache/conf \
--enable-safe-mode --with-exec-dir=/www/PHP/safebin \
--enable-track-vars=yes --enable-bcmath=yes \
--enable-force-cgi-redirect=yes \
--without-fdftk --enable-sysvsem \
--enable-sysvshm --disable-short-tags \
--enable-memory-limit
I've seen similar problems in the archives, but haven't yet found an
answer. Is there some incompatibiliy between PHP4 and Apache APXS?
Mik
-------------------------------------------------------------
Michael Middleton
RZ der Universitaet Regensburg
93040 REGENSBURG Tel: +49-941/943-4890
F R Germany