Stuck During upgrade NOW WHAT

Ok about 6 months ago I was doing a 2.10 upgrade on an AsteriskNOW instalation that had been in production for about 2 years. Small office pbx. No issues life was grand.

After the upgrade with Module Admin I noticed Sys Admin hadn’t installed and needed some dependencies met.

This is where things started going wrong.

I tried to yum upgrade php, and Zend
I lost the WebGUI 500 server error and login screen over and over.

But the server continued to handle calls, so I back-burnered the issue and moved on to the next job.
Now I’m back and I have to get this fixed, Regain WebGUI access, etc.

I think I have the php upgrade issue resolved by following steps on this page:
http://www.howtoforge.com/centos-5.6-php53-common-conflicts-with-php-common
and now :

[root@AsteriskProd /]# php -v
PHP 5.3.14 (cli) (built: Jun 25 2012 11:39:43)
Copyright © 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2012 Zend Technologies
with Zend Guard Loader v3.3, Copyright © 1998-2010, by Zend Technologies
[root@AsteriskProd /]#

And I installed php-posix via yum as well

But still the issue continues:

[root@AsteriskProd /]# amportal start

PHP Fatal error: require_once(): Failed opening required ‘DB.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/html/admin/libraries/db_connect.php on line 14
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in ‘/etc/asterisk’ is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p ’

mkdir: missing operand
Try `mkdir --help’ for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ’ failed with an exit code of 1
You must create this directory and the try again.
[root@AsteriskProd /]#

And=========================
[root@AsteriskProd bin]# ./module_admin reload
PHP Fatal error: require_once(): Failed opening required ‘DB.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/html/admin/libraries/db_connect.php on line 14
[root@AsteriskProd bin]#


What do I do???
Any info or tests that would help let me know I just need this beast back up and running.

Thank You

Perhaps a clue from your post:-

PHP Fatal error: require_once(): Failed opening required ‘DB.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/html/admin/libraries/db_connect.php on line 14what does

updatedb
locate DB.php
return?

if nothing then maybe

yum install php-pear

or

apt-get install php-pear

(depending on what OS you are using, yum for AsteriskNow I believe)

It looks like php-pear is installed here is the output of yum install php-pear

[root@AsteriskProd /]# yum install php-pear
Loaded plugins: fastestmirror, kmod, priorities, replace
Loading mirror speeds from cached hostfile

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Installing:
php-pear noarch 1:1.4.9-8.el5 base 344 k

Transaction Summary

Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 344 k
Is this ok [y/N]: y
Downloading Packages:
php-pear-1.4.9-8.el5.noarch.rpm | 344 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
file /etc/pear.conf from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /etc/rpm/macros.pear from install of php-pear-1.4.9-8.el5.noarch conflict s with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/bin/pear from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/bin/pecl from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5. noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9 -8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarc h
file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9 -8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarc h
file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch confli cts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/.filemap from install of php-pear-1.4.9-8.el5.noarch conf licts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/.registry/archive_tar.reg from install of php-pear-1.4.9- 8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/.registry/console_getopt.reg from install of php-pear-1.4 .9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noa rch
file /usr/share/pear/.registry/pear.reg from install of php-pear-1.4.9-8.el5.n oarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/.registry/xml_rpc.reg from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/Archive/Tar.php from install of php-pear-1.4.9-8.el5.noar ch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/Console/Getopt.php from install of php-pear-1.4.9-8.el5.n oarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/OS/Guess.php from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR.php from install of php-pear-1.4.9-8.el5.noarch conf licts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Autoloader.php from install of php-pear-1.4.9-8.el5. noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Builder.php from install of php-pear-1.4.9-8.el5.noa rch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/ChannelFile.php from install of php-pear-1.4.9-8.el5 .noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/ChannelFile/Parser.php from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Command.php from install of php-pear-1.4.9-8.el5.noa rch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Auth.php from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Auth.xml from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Build.php from install of php-pear-1.4.9-8.e l5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Channels.php from install of php-pear-1.4.9- 8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Channels.xml from install of php-pear-1.4.9- 8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Common.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Config.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Install.php from install of php-pear-1.4.9-8 .el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Install.xml from install of php-pear-1.4.9-8 .el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Mirror.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Package.php from install of php-pear-1.4.9-8 .el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Package.xml from install of php-pear-1.4.9-8 .el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Pickle.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Pickle.xml from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Registry.php from install of php-pear-1.4.9- 8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Registry.xml from install of php-pear-1.4.9- 8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Remote.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Remote.xml from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Test.php from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Command/Test.xml from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Common.php from install of php-pear-1.4.9-8.el5.noar ch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Config.php from install of php-pear-1.4.9-8.el5.noar ch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Dependency2.php from install of php-pear-1.4.9-8.el5 .noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/DependencyDB.php from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Downloader.php from install of php-pear-1.4.9-8.el5. noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Downloader/Package.php from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/ErrorStack.php from install of php-pear-1.4.9-8.el5. noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Exception.php from install of php-pear-1.4.9-8.el5.n oarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Frontend.php from install of php-pear-1.4.9-8.el5.no arch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Frontend/CLI.php from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Installer.php from install of php-pear-1.4.9-8.el5.n oarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Installer/Role.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Installer/Role/Common.php from install of php-pear-1 .4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.n oarch
file /usr/share/pear/PEAR/Installer/Role/Data.php from install of php-pear-1.4 .9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noa rch
file /usr/share/pear/PEAR/Installer/Role/Data.xml from install of php-pear-1.4 .9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noa rch
file /usr/share/pear/PEAR/Installer/Role/Doc.php from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Installer/Role/Doc.xml from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Installer/Role/Ext.php from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Installer/Role/Ext.xml from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Installer/Role/Php.php from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Installer/Role/Php.xml from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Installer/Role/Script.php from install of php-pear-1 .4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.n oarch
file /usr/share/pear/PEAR/Installer/Role/Script.xml from install of php-pear-1 .4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.n oarch
file /usr/share/pear/PEAR/Installer/Role/Src.php from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Installer/Role/Src.xml from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Installer/Role/Test.php from install of php-pear-1.4 .9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noa rch
file /usr/share/pear/PEAR/Installer/Role/Test.xml from install of php-pear-1.4 .9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noa rch
file /usr/share/pear/PEAR/PackageFile.php from install of php-pear-1.4.9-8.el5 .noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/PackageFile/Generator/v1.php from install of php-pea r-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el 5.noarch
file /usr/share/pear/PEAR/PackageFile/Generator/v2.php from install of php-pea r-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el 5.noarch
file /usr/share/pear/PEAR/PackageFile/Parser/v1.php from install of php-pear-1 .4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.n oarch
file /usr/share/pear/PEAR/PackageFile/Parser/v2.php from install of php-pear-1 .4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.n oarch
file /usr/share/pear/PEAR/PackageFile/v1.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/PackageFile/v2.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/PackageFile/v2/Validator.php from install of php-pea r-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el 5.noarch
file /usr/share/pear/PEAR/PackageFile/v2/rw.php from install of php-pear-1.4.9 -8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarc h
file /usr/share/pear/PEAR/Packager.php from install of php-pear-1.4.9-8.el5.no arch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/REST.php from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/REST/10.php from install of php-pear-1.4.9-8.el5.noa rch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/REST/11.php from install of php-pear-1.4.9-8.el5.noa rch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Registry.php from install of php-pear-1.4.9-8.el5.no arch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/RunTest.php from install of php-pear-1.4.9-8.el5.noa rch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Task/Common.php from install of php-pear-1.4.9-8.el5 .noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Task/Postinstallscript.php from install of php-pear- 1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5. noarch
file /usr/share/pear/PEAR/Task/Postinstallscript/rw.php from install of php-pe ar-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.e l5.noarch
file /usr/share/pear/PEAR/Task/Replace.php from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Task/Replace/rw.php from install of php-pear-1.4.9-8 .el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Task/Unixeol.php from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Task/Unixeol/rw.php from install of php-pear-1.4.9-8 .el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Task/Windowseol.php from install of php-pear-1.4.9-8 .el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Task/Windowseol/rw.php from install of php-pear-1.4. 9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noar ch
file /usr/share/pear/PEAR/Validate.php from install of php-pear-1.4.9-8.el5.no arch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/Validator/PECL.php from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/PEAR/XMLParser.php from install of php-pear-1.4.9-8.el5.n oarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/System.php from install of php-pear-1.4.9-8.el5.noarch co nflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/XML/RPC.php from install of php-pear-1.4.9-8.el5.noarch c onflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/XML/RPC/Dump.php from install of php-pear-1.4.9-8.el5.noa rch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/XML/RPC/Server.php from install of php-pear-1.4.9-8.el5.n oarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/data/PEAR/package.dtd from install of php-pear-1.4.9-8.el 5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/data/PEAR/template.spec from install of php-pear-1.4.9-8. el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/doc/Archive_Tar/docs/Archive_Tar.txt from install of php- pear-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius .el5.noarch
file /usr/share/pear/pearcmd.php from install of php-pear-1.4.9-8.el5.noarch c onflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/peclcmd.php from install of php-pear-1.4.9-8.el5.noarch c onflicts with file from package php53u-pear-1.9.4-3.ius.el5.noarch
file /usr/share/pear/test/XML_RPC/tests/empty-value-struct.php from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4- 3.ius.el5.noarch
file /usr/share/pear/test/XML_RPC/tests/empty-value.php from install of php-pe ar-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.e l5.noarch
file /usr/share/pear/test/XML_RPC/tests/extra-lines.php from install of php-pe ar-1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.e l5.noarch
file /usr/share/pear/test/XML_RPC/tests/protoport.php from install of php-pear -1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5 .noarch
file /usr/share/pear/test/XML_RPC/tests/test_Dump.php from install of php-pear -1.4.9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5 .noarch
file /usr/share/pear/test/XML_RPC/tests/types.php from install of php-pear-1.4 .9-8.el5.noarch conflicts with file from package php53u-pear-1.9.4-3.ius.el5.noa rch

Error Summary

Maybe the php upgrade from procedure from http://www.howtoforge.com/centos-5.6-php53-common-conflicts-with-php-common
screwed up a pointer?

yep, your repos are screwed up, php53u-pear is for php 5.3 but you have repos pointing elseware

ok, got any ideas on how to fix it???

Hard to know how you got into this situation,but:-

http://www.how2centos.com/install-yum-priorities-centos/

might help prioritize your ius, sourcesforge, epel, repos, ( you added them didn’t you )
make sure all your repos are appropriate for your architecture etc.

ok I followed that… now what?
yum install php-pear

Yes I confess I added those repos I thought I was supposed to =(

http://rpm.pbone.net/index.php3/stat/4/idpl/15945894/dir/redhat_el_5/com/php53u-pear-1.9.2-1.ius.el5.noarch.rpm.html

shows that php53u-pear provides php-pear now you have to work out where your DB.php is or is not . . . (the origibnal problem).

you never posted the output of locate DB.php my php 5.3 installs show it to be in /usr/share/php/DB.php

[root@AsteriskProd /]# locate db.php /var/lib/asterisk/backups/backup/tmp/ampbackups.20120115.00.00.01/var/lib/asterisk/bin/dumpastdb.php
/var/lib/asterisk/backups/backup/tmp/ampbackups.20120115.00.00.01/var/lib/asterisk/bin/restoreastdb.php
/var/lib/asterisk/backups/backup/tmp/ampbackups.20120115.00.00.01/var/www/html/admin/modules/backup/bin/dumpastdb.php
/var/lib/asterisk/backups/backup/tmp/ampbackups.20120115.00.00.01/var/www/html/admin/modules/backup/bin/restoreastdb.php
/var/lib/asterisk/backups/backup/tmp/ampbackups.20120115.00.00.01/var/www/html/admin/modules/customerdb/page.customerdb.php
/var/lib/asterisk/backups/backup/tmp/ampbackups.20120115.00.00.01/var/www/html/admin/modules/inventorydb/page.inventorydb.php
/var/lib/asterisk/bin/dumpastdb.php
/var/lib/asterisk/bin/restoreastdb.php
/var/www/html/admin/modules/customerdb/page.customerdb.php
/var/www/html/admin/modules/inventorydb/page.inventorydb.php

LiNuX is Case SEnsitive, I thOught I Said DB.php, please follow the directions more carefully

I tried that too and guessed you must have been looking for the other

[root@AsteriskProd /]# locate DB.php
/usr/share/pear/PEAR/DependencyDB.php

and fyi I ran updatedb immediately prior to the locate

and:

[root@AsteriskProd /]# cd /usr/share/php
-bash: cd: /usr/share/php: No such file or directory
[root@AsteriskProd /]#

[root@AsteriskProd /]# cd /usr/share
[root@AsteriskProd share]# ll
total 696
drwxr-xr-x 2 root root 4096 Mar 31 2010 aclocal
drwxr-xr-x 2 root root 4096 Dec 19 2010 aclocal-1.4
drwxr-xr-x 2 root root 4096 Dec 19 2010 aclocal-1.5
drwxr-xr-x 2 root root 4096 Dec 19 2010 aclocal-1.6
drwxr-xr-x 2 root root 4096 Dec 19 2010 aclocal-1.7
drwxr-xr-x 2 root root 4096 Dec 19 2010 aclocal-1.9
drwxr-xr-x 3 root root 4096 Nov 23 2009 anaconda
drwxr-xr-x 2 root root 4096 Jan 23 2012 applications
drwxr-xr-x 3 root root 4096 Nov 23 2009 apps
drwxr-xr-x 2 root root 4096 Jan 23 2012 authconfig
drwxr-xr-x 7 root root 4096 Nov 23 2009 autoconf
drwxr-xr-x 2 root root 4096 Dec 19 2010 automake-1.4
drwxr-xr-x 4 root root 4096 Dec 19 2010 automake-1.5
drwxr-xr-x 4 root root 4096 Dec 19 2010 automake-1.6
drwxr-xr-x 4 root root 4096 Dec 19 2010 automake-1.7
drwxr-xr-x 4 root root 4096 Dec 19 2010 automake-1.9
drwxr-xr-x 3 root root 4096 Jan 23 2012 avahi
drwxr-xr-x 2 root root 4096 Nov 23 2009 awk
drwxr-xr-x 3 root root 4096 Nov 23 2009 bison
drwxr-xr-x 2 root root 4096 Nov 23 2009 conman
drwxr-xr-x 2 root root 4096 Nov 23 2009 cracklib
drwxr-xr-x 2 root root 4096 Nov 23 2009 cscope
drwxr-xr-x 9 root root 4096 Jan 23 2012 cups
drwxr-xr-x 3 root root 4096 Sep 3 2009 cvs
drwxr-xr-x 2 root root 4096 Jan 23 2012 dahdi
drwxr-xr-x 4 root root 4096 Aug 11 2011 dbus-1
drwxr-xr-x 2 root root 4096 Nov 23 2009 desktop-directories
drwxr-xr-x 2 root root 4096 Nov 23 2009 desktop-menu-patches
drwxr-xr-x 2 root root 4096 May 11 2011 dict
drwxr-xr-x 342 root root 16384 Aug 8 13:22 doc
drwxr-xr-x 2 root root 4096 Jan 23 2012 ecryptfs-utils
drwxr-xr-x 3 root root 4096 Nov 23 2009 emacs
dr-xr-xr-x 2 root root 4096 May 11 2011 empty
drwxr-xr-x 2 root root 4096 Jan 23 2012 eula
drwxr-xr-x 2 root root 4096 Nov 23 2009 file
drwxr-xr-x 4 root root 4096 Dec 19 2010 firstboot
drwxr-xr-x 3 root root 4096 Nov 23 2009 fonts
drwxr-xr-x 2 root root 4096 May 11 2011 games
drwxr-xr-x 5 root root 4096 Jan 23 2012 gdb
drwxr-xr-x 3 root root 4096 Nov 23 2009 gdm
drwxr-xr-x 5 root root 4096 Jan 23 2012 gettext
drwxr-xr-x 2 root root 4096 Nov 23 2009 gnome-screensaver
drwxr-xr-x 2 root root 4096 Dec 19 2010 gnupg
drwxr-xr-x 4 root root 4096 Nov 23 2009 groff
drwxr-xr-x 3 root root 4096 Sep 3 2009 grub
drwxr-xr-x 3 root root 4096 Dec 8 2011 gtk-2.0
drwxr-xr-x 3 root root 4096 Mar 5 2011 hal
drwxr-xr-x 3 root root 4096 Jan 23 2012 hwdata
drwxr-xr-x 4 root root 4096 Nov 28 2011 i18n
drwxr-xr-x 4 root root 4096 Nov 23 2009 icons
drwxr-xr-x 2 root root 4096 Jan 23 2012 info
drwxr-xr-x 2 root root 4096 Nov 23 2009 keyutils
drwxr-xr-x 2 root root 4096 Dec 19 2010 lftp
drwxr-xr-x 3 root root 4096 Dec 19 2010 libtool
drwxr-xr-x 563 root root 12288 Jan 23 2012 locale
drwxr-xr-x 6 root root 4096 Mar 30 2011 logwatch
lrwxrwxrwx 1 root root 10 Nov 23 2009 magic -> file/magic
lrwxrwxrwx 1 root root 15 Nov 23 2009 magic.mime -> file/magic.mime
drwxr-xr-x 59 root root 4096 May 11 2011 man
drwxr-xr-x 2 root root 4096 May 11 2011 misc
drwxr-xr-x 26 root root 4096 Jan 23 2012 mysql
drwxr-xr-x 2 root root 4096 Nov 23 2009 nano
drwxr-xr-x 2 root root 4096 Jan 23 2012 NetworkManager
drwxr-xr-x 2 root root 4096 Nov 28 2011 openldap
drwxr-xr-x 12 root root 4096 Jan 23 2012 oprofile
drwxr-xr-x 2 root root 4096 Nov 23 2009 pam_pkcs11
drwxr-xr-x 14 root root 4096 Aug 8 13:17 pear
drwxr-xr-x 4 root root 4096 Jan 23 2012 pixmaps
drwxr-xr-x 2 root root 4096 May 24 2008 pkgconfig
drwxr-xr-x 6 root root 4096 May 18 2011 poppler
drwxr-xr-x 2 root root 4096 Nov 23 2009 rhgb
drwxr-xr-x 3 root root 4096 May 4 2011 screen
drwxr-xr-x 4 root root 4096 Jul 22 2011 selinux
drwxr-xr-x 3 root root 4096 Nov 23 2009 setools
drwxr-xr-x 4 root root 4096 Nov 23 2009 slrn
drwxr-xr-x 5 root root 4096 Aug 8 13:22 snmp
drwxr-xr-x 4 root root 4096 Nov 23 2009 splint
drwxr-xr-x 2 root root 4096 Jan 23 2012 sysreport
drwxr-xr-x 4 root root 4096 Jan 23 2012 system-config-network
drwxr-xr-x 4 root root 4096 Aug 11 2011 systemtap
drwxr-xr-x 2 root root 4096 Nov 23 2009 tabset
drwxr-xr-x 8 root root 4096 Nov 23 2009 tcl8.4
drwxr-xr-x 44 root root 4096 Nov 23 2009 terminfo
drwxr-xr-x 2 root root 4096 Nov 23 2009 texinfo
drwxr-xr-x 5 root root 4096 Nov 23 2009 themes
drwxr-xr-x 3 root root 4096 Mar 5 2011 vim
drwxr-xr-x 5 root root 4096 Jan 23 2012 X11
drwxr-xr-x 3 root root 4096 Nov 23 2009 xemacs
drwxr-xr-x 2 root root 4096 May 11 2011 xsessions
drwxr-xr-x 2 root root 4096 Jan 23 2012 yum-cli
drwxr-xr-x 21 root root 4096 Jan 23 2012 zoneinfo
[root@AsteriskProd share]# cd pear
[root@AsteriskProd pear]# ll

total 148
drwxr-xr-x 2 root root 4096 Aug 8 13:17 Archive
drwxr-xr-x 2 root root 4096 Aug 8 13:17 Console
drwxr-xr-x 4 root root 4096 Aug 8 13:17 data
drwxr-xr-x 7 root root 4096 Aug 8 13:17 doc
drwxr-xr-x 2 root root 4096 Aug 8 13:17 OS
drwxr-xr-x 11 root root 4096 Aug 8 13:17 PEAR
-rw-r–r-- 1 root root 1087 Oct 21 2011 PEAR5.php
-rw-r–r-- 1 root root 14430 Oct 21 2011 pearcmd.php
-rw-r–r-- 1 root root 33897 Oct 21 2011 PEAR.php
-rw-r–r-- 1 root root 928 Oct 21 2011 peclcmd.php
drwxr-xr-x 3 root root 4096 Aug 8 13:17 Structures
-rw-r–r-- 1 root root 20243 Oct 21 2011 System.php
drwxr-xr-x 6 root root 4096 Aug 8 13:17 test
drwxr-xr-x 3 root root 4096 Aug 8 13:17 XML
[root@AsteriskProd pear]#

You need to fix that, from youtr original post"

PHP Fatal error: require_once(): Failed opening required ‘DB.php’ (include_path=‘.:/usr/share
/pear:/usr/share/php’) in /var/www/html/admin/libraries/db_connect.php on line 14

To reiterate from an earlier post

RPM RedHat EL 5 php53u-pear 1.9.2 noarch rpm

shows that php53u-pear provides php-pear now you have to work out where your DB.php is or is not . . . (the origibnal problem).

have you as yet tried to install php53u-pear ?

yes of course, the “yum install php53u” method that I followed and posted a link to: http://www.howtoforge.com/centos-5.6-php53-common-conflicts-with-php-common
shows it being installed.
the reason I followed that method is: I was receiving this error in updating php with yum:

–> Processing Conflict: php53-common conflicts php-common
–> Finished Dependency Resolution
php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
–> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

that is how I got to where I am now. CentOS is my release BTW

Yet as yet you do not hve a DB.php, until you do then that error will keep recurring.

OK, at this point I think its agreeable that I do not have 'DB.php’
What is it,?
Where do I get it?

Part of php53-pear, that used to be called php-pear, you seem to have conflicts in your yum updating the conflicts/errors seem quite explicit, until you fix those conflicts then you wont have it and your original problem will remain.

I don’t know how I can be more explicit than I have been.

Sorry but good luck.

OK ‘pear install DB’ got me DB.php