Invalid Library??

From: Date: Thu, 27 Nov 2003 02:27:52 +0000
Subject: Invalid Library??
Groups: php.general 
Request: Send a blank email to php-general+get-171154@lists.php.net to get a copy of this message
On Linux RH 9.0 I built Apache 2.0.48 from source (to fix a problem I had with an earlier version). I also built PHP 4.3.4 using the following configuration directives: ./configure --with-apxs2=/usr/local/apache2/bin/apxs '--with-mysql=shared,/usr' Finally I installed MySQL 3.23.58 from an RPM. In the php.ini the extension_dir=/usr/lib/php4 and I copied in the mysql.so file created when built PHP. But when I run Apache I see the following in the error_log: PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'mysql.so' in Unknown on line 0 Is there anything obviously wrong with what I am doing here? Basically I need Apache, and MySQl, and PHP. But I can't seem to find a combination that will work together? Thanks in advance for any ideas on this. lk

« previous php.general (#171154) next »