LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-20-2009, 09:16 AM   #1
rossie
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


Hello,

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/dbase.so' - /usr/lib64/php/modules/dbase.so: 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 5.2.12-1.el5.art installed
php.x86_64 5.3.1-1.el5.remi installed
php-cli.i386 5.2.12-1.el5.art installed
php-cli.x86_64 5.3.1-1.el5.remi installed
php-common.i386 5.2.12-1.el5.art 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 1:5.2.12_0.9.5.3-5.el5.art 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 5.2.12-1.el5.art 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 2.11.9.6-1.el5.rf 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.

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

Rep: Reputation: 41
is php-dbase installed?
 
Old 12-20-2009, 11:58 AM   #3
rossie
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
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
you have 2 options ...install php-dbase ...php should then find the dbase.so ..or edit php.ini and remove the reference to that module.
 
Old 12-20-2009, 02:18 PM   #5
rossie
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 php-common-5.2.12-1.el5.art.x86_64 instead
Package matching php-common-5.2.12-1.el5.art.x86_64 already installed. Checking for update.
Nothing to do

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:33 PM.

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