php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40533 PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so'
Submitted: 2007-02-18 15:17 UTC Modified: 2007-02-18 15:40 UTC
From: taptamus at yahoo dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.2.1 OS: Fedora 4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: taptamus at yahoo dot com
New email:
PHP Version: OS:

 

 [2007-02-18 15:17 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-18 15:40 UTC] johannes@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC