#40533 [Opn->Bgs]: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so'
| From: | johannes@php.net | Date: | Sun, 18 Feb 2007 15:40:56 +0000 |
| Subject: | #40533 [Opn->Bgs]: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109076@lists.php.net to get a copy of this message | ||
ID: 40533
Updated by: johannes@php.net
Reported By: taptamus at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Fedora 4
PHP Version: 5.2.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
you're mixing extensions from different PHP versions (see module
API=20041030 vs. module API=20060613 in your output) lease check your
installation and look for updates at your distributor's site
Previous Comments:
------------------------------------------------------------------------
[2007-02-18 15:17:54] taptamus at yahoo dot com
Description:
------------
Installed PHP5 with Mysql5.0.x and Apache2
rpm -qa |grep -i php
php-pgsql-5.0.4-10.5
php-mbstring-5.0.4-10.5
phpMyAdmin-2.9.0.2-1.gdg
php-5.0.4-10.5
phpPgAdmin-4.0.1-1.gdg
php-mysql-5.0.4-10.5
php-pear-5.0.4-10.5
Its throwing error
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/mbstring.so' - /usr/lib/php/modules/mbstring.so:
undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so:
undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: D\x81\x88\xb7`\xde\x87\xb7: Unable to
initialize module\nModule compiled with module API=20041030, debug=0,
thread-safety=0\nPHP compiled with module API=20060613, debug=0,
thread-safety=0\nThese options need to match\n
in Unknown on line 0
Reproduce code:
---------------
Used following command to install php
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql-dir=/usr/local/mysql
Expected result:
----------------
PHP should start without any error, looked at the current bugs, no fix
found
Actual result:
--------------
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/mbstring.so' - /usr/lib/php/modules/mbstring.so:
undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so:
undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: D\x81\x88\xb7`\xde\x87\xb7: Unable to
initialize module\nModule compiled with module API=20041030, debug=0,
thread-safety=0\nPHP compiled with module API=20060613, debug=0,
thread-safety=0\nThese options need to match\n
in Unknown on line 0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40533&edit=1