PEAR/MySQL woes: Function registration failed - duplicate name

From: Date: Tue, 01 Jun 2004 13:56:17 +0000
Subject: PEAR/MySQL woes: Function registration failed - duplicate name
Groups: php.general 
Request: Send a blank email to php-general+get-187346@lists.php.net to get a copy of this message
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!!

« previous php.general (#187346) next »