mysql/php access denied error
I've been banging my head on my desk about this for the better part of a day, so I hope someone can tell me what's wrong.
MySQL 3.23.58-4 works fine on its own and mysql.so has been compiled (it would seem) for
PHP 4.3.8 which works fine with
Apache 4.2.1
I'm sure php works because I've done other little doodads with it, but getting it to play nicely with mysql has been nothing but headaches.
There is a clue as to what's going on in php --version, which yields a long list of mysql-related registration errors that read like this:
PHP Warning: Function registration failed - duplicate name - mysql_connect in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_pconnect in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_close in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_select_db in Unknown on line 0
among others...
So what's happening? How do I fix it? I've got a nice database set up and a pretty smooth php script, but the access denied errors are driving me mad.
Help is greatly appreciated.
Chuck
|