Bug #10762 Updated: Call to unsupported or undefined function mysql_connect()
| From: | cardinal@php.net | Date: | Wed, 09 May 2001 19:42:17 +0000 |
| Subject: | Bug #10762 Updated: Call to unsupported or undefined function mysql_connect() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54558@lists.php.net to get a copy of this message | ||
ID: 10762
Updated by: cardinal
Reported By: iandbigejunk@yahoo.com
Old-Status: Open
Status: Bogus
Bug Type: MySQL related
Operating system:
PHP Version: 4.0.4
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2001-05-09 15:22:08] iandbigejunk@yahoo.com
Problem: php modules for mysql are not loaded.
Solution: launch php from command line using php -h
watch and note errors. In our case these files need renaming from version 10 to version
9. See version 9 below. NOTE links must also be changed.
[root@hobbes lib]# ll libmy*
lrwxrwxrwx 1 root root 23 May 8 14:33 libmysqlclient.so ->
libmysqlclient.so.9.0.0
lrwxrwxrwx 1 root root 23 May 8 14:33 libmysqlclient.so.9 ->
libmysqlclient.so.9.0.0
-rwxr-xr-x 1 root root 217861 Mar 27 02:33 libmysqlclient.so.9.0.0
lrwxrwxrwx 1 root root 25 May 8 14:33 libmysqlclient_r.so ->
libmysqlclient_r.so.9.0.0
lrwxrwxrwx 1 root root 25 May 8 14:32 libmysqlclient_r.so.9 ->
libmysqlclient_r.so.9.0.0
-rwxr-xr-x 1 root root 217925 Mar 27 02:32 libmysqlclient_r.so.9.0.0
If you can enter the command
#php -h
with no errors then your mysql modules are probably loaded ok.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10762&edit=2