Mysql + PHP4 problem
| From: | Ronen Friedman | Date: | Thu, 06 Sep 2001 08:14:43 +0000 |
| Subject: | Mysql + PHP4 problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4218@lists.php.net to get a copy of this message | ||
Greetings,
I'll appreciate any help on this:
PHP is installed and working, but refuses to acknowledge mysql.
Mysql. on the other hand, is working OK too (for Bugzilla).
Details:
Mandrake 8; PHP 4.0.6 (but reports 4.0.4pl1 on php -v) ; mysql 3.23.39
PHP was built with --with-mysql=/usr/local/mysql --with-apxs
php -h gives out a warning:
unable to load dynamic library '/usr/lib/php/extensions/mysql.so' .... file
not found.
(not that it really matters, but: httpd -l lists mod_so.c)
Now - I've tried to link the only mysql.so file in the system
(/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBD/mysql/..) to that
location
(though the location seems strange), but then failed on undefined refs in
that library.
Thanks in advance
Ronen
rfriedman@regisoft.com