Re: PEAR/MySQL woes: Function registration failed - duplicate name
| From: | Jough P | Date: | Tue, 01 Jun 2004 14:48:17 +0000 |
| Subject: | Re: PEAR/MySQL woes: Function registration failed - duplicate name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187347@lists.php.net to get a copy of this message | ||
Hrm, I restarted apaches and got the following:
[warn] module php4_module is already loaded, skipping
Is there a way to restart the PHP DSO?
On Jun 1, 2004, at 8:56 AM, Jough P wrote:
Installed a new PHP last night because I wanted to start using PEAR. When I use 'pear' from the command line a few funny things happen. Among them are a bunch of errors like the following: 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 PHP Warning: Function registration failed - duplicate name - mysql_create_db in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mysql_drop_db in Unknown on line 0 etc.... I looked in php.ini and the line that includes the mysql.so is only there once: extension=mysql.so Any ideas how I can fix this? I'd rather not have a couple pages full of errors every time I use the pear command. Thanks!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php