From:             taptamus at yahoo dot com
Operating system: Fedora 4
PHP version:      5.2.1
PHP Bug Type:     MySQL related
Bug description:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/modules/mysql.so'

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 bug report at http://bugs.php.net/?id=40533&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40533&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40533&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40533&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40533&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40533&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40533&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40533&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40533&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40533&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40533&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40533&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40533&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40533&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40533&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40533&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40533&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40533&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40533&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40533&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40533&r=mysqlcfg

Reply via email to