Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-20-2009, 09:16 AM   #1
LQ Newbie
Registered: Dec 2009
Posts: 5

Rep: Reputation: 0
PHP Warning after upgrading from PHP 5.2.1 to 5.3.1 on CentOS


I just upgraded from PHP 5.2.1 to PHP 5.3.1

I am getting the following warning afterI run php-v:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/' - /usr/lib64/php/modules/ cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: mhash: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP 5.3.1 (cli) (built: Nov 20 2009 18:18:28)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

I think my problem has to do with not all of my libraries are x86_64

[root@Jaybird ~]# yum list installed | grep php
php.i386 installed
php.x86_64 5.3.1-1.el5.remi installed
php-cli.i386 installed
php-cli.x86_64 5.3.1-1.el5.remi installed
php-common.i386 installed
php-common.x86_64 5.3.1-1.el5.remi installed
php-devel.x86_64 5.3.1-1.el5.remi installed
php-eaccelerator.x86_64 installed
php-gd.x86_64 5.3.1-1.el5.remi installed
php-imap.x86_64 5.3.1-1.el5.remi installed
php-ldap.x86_64 5.3.1-1.el5.remi installed
php-mbstring.x86_64 5.3.1-1.el5.remi installed
php-mcrypt.x86_64 5.3.1-1.el5.remi installed
php-mhash.x86_64 installed
php-mssql.x86_64 5.3.1-1.el5.remi installed
php-mysql.x86_64 5.3.1-1.el5.remi installed
php-odbc.x86_64 5.3.1-1.el5.remi installed
php-pdo.x86_64 5.3.1-1.el5.remi installed
php-pear.noarch 1:1.9.0-1.el5.remi installed
php-snmp.x86_64 5.3.1-1.el5.remi installed
php-soap.x86_64 5.3.1-1.el5.remi installed
php-tidy.x86_64 5.3.1-1.el5.remi installed
php-xml.x86_64 5.3.1-1.el5.remi installed
php-xmlrpc.x86_64 5.3.1-1.el5.remi installed
phpmyadmin.noarch installed

I think I need to remove to .i386 files but I am not sure how to do that safely.

Any help would be greatly appreciated.

Old 12-20-2009, 11:23 AM   #2
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
is php-dbase installed?
Old 12-20-2009, 11:58 AM   #3
LQ Newbie
Registered: Dec 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I don't think php-dbase is installed. At least I didn't have the intention too.
Old 12-20-2009, 12:38 PM   #4
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
you have 2 options ...install php-dbase ...php should then find the ..or edit php.ini and remove the reference to that module.
Old 12-20-2009, 02:18 PM   #5
LQ Newbie
Registered: Dec 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I tried installing php-dbase

Package php-dbase is obsoleted by php-common, trying to install instead
Package matching already installed. Checking for update.
Nothing to do

Do you have the syntax on how I can remove the modules from php.ini?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update PHP on CentOS - missing dependency php-common AndyMillne Linux - Server 7 05-21-2013 06:34 AM
Centos 5.2 running Apache 2 and PHP 4 cannot display info.php codenjanod Linux - Server 2 08-19-2008 02:00 AM
PHP file inclusion warning chus_84 Programming 5 07-18-2008 08:44 AM
Upgrading PHP on CentOS? subnet_rx Linux - Distributions 1 03-15-2008 10:26 AM
Upgrading PHP 4.2.2-17 to PHP 4.3.2-3 Qwik Linux - Software 3 06-27-2003 02:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration