[BlueOnyx:10805] Re: Pear DB on BX
Richard Morgan
richard at morgan-web.co.uk
Fri Jun 15 08:42:49 -05 2012
Hi Guys
I also thought yum install would work, but it includes an error message in
the process when I tested it. It says installed, but I'm never happy with
anything includes the word 'error'. I also don't know enough about PHP to
test whether it's really OK.
This isn't essential for what I'm doing, but thought it worth a mention. Do
you get the same errors?
Richard
Output from YUM:
[root at s1 ~]# yum install php-pear-DB
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* BlueOnyx: www.blueonyx.nl
* Solarspeed.net: blueonyx.solarspeed.net
* Solarspeed.net-AVSPAM-v51: avspamv5.solarspeed.net
* base: mirror.sov.uk.goscomb.net
* extras: mirror.sov.uk.goscomb.net
* updates: mirror01.th.ifl.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pear-DB.noarch 0:1.7.13-1.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version
Repository Size
====================================================================================================================================
Installing:
php-pear-DB noarch
1.7.13-1.el5.centos extras 142 k
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 142 k
Is this ok [y/N]: y
Downloading Packages:
php-pear-DB-1.7.13-1.el5.centos.noarch.rpm
| 142 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-pear-DB
1/1
PHP Fatal error: require_once(): Failed opening required 'PEAR.php'
(include_path='/usr/share/pear') in /usr/share/pear/pearcmd.php on line 63
Installed:
php-pear-DB.noarch 0:1.7.13-1.el5.centos
Complete!
[root at s1 ~]# yum install php-pear-MDB2
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* BlueOnyx: www.blueonyx.nl
* Solarspeed.net: blueonyx.solarspeed.net
* Solarspeed.net-AVSPAM-v51: avspamv5.solarspeed.net
* base: mirror.sov.uk.goscomb.net
* extras: mirror.sov.uk.goscomb.net
* updates: mirror01.th.ifl.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pear-MDB2.noarch 0:2.4.1-2.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version
Repository Size
====================================================================================================================================
Installing:
php-pear-MDB2 noarch
2.4.1-2.el5.centos extras 132 k
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 132 k
Is this ok [y/N]: y
Downloading Packages:
php-pear-MDB2-2.4.1-2.el5.centos.noarch.rpm
| 132 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-pear-MDB2
1/1
PHP Fatal error: require_once(): Failed opening required 'PEAR.php'
(include_path='/usr/share/pear') in /usr/share/pear/pearcmd.php on line 63
Installed:
php-pear-MDB2.noarch 0:2.4.1-2.el5.centos
Complete!
----- Original Message -----
From: "Bill Hicks" <billhicks at netstep.net>
To: "BlueOnyx General Mailing List" <blueonyx at mail.blueonyx.it>
Sent: Friday, June 15, 2012 12:04 PM
Subject: [BlueOnyx:10804] Re: Pear DB on BX
> Hi Frank
>
> That is why I say it was probably a simple / stupid / obvious question, I
> wasnt sure if it was that easy. Thanks!
>
> Bill Hicks
>
>
> Hi Bill,
> why not simply
> "yum install php-pear-DB" ?
>
> Does this not work ?
>
> Frank
>
> Le 14/06/2012 18:05, Bill Hicks a écrit :
>> This is probably a simple / stupid / obvious question but I need to have
>> pear db activated on a BX 5106r server. When I do a yum list | grep pear
>> on
>> the server I see:
>>
>> php-pear.noarch 1:1.4.9-8.el5
>> installed
>> php-pear-Auth-SASL.noarch 1.0.2-4.el5.centos
>> installed
>> php-pear-Mail.noarch 1.1.14-1.el5.centos
>> installed
>> php-pear-Net-SMTP.noarch 1.2.10-1.el5.centos
>> installed
>> php-pear-Net-Socket.noarch 1.0.8-1.el5.centos
>> installed
>> php-pear-DB.noarch 1.7.13-1.el5.centos extras
>> php-pear-Date.noarch 1.4.7-2.el5.centos extras
>> php-pear-File.noarch 1.2.2-1.el5.centos extras
>> php-pear-HTTP-Request.noarch 1.4.2-1.el5.centos extras
>> php-pear-Log.noarch 1.9.13-1.el5.centos extras
>> php-pear-MDB2.noarch 2.4.1-2.el5.centos extras
>> php-pear-MDB2-Driver-mysql.noarch 1.4.1-3.el5.centos extras
>> php-pear-Mail-Mime.noarch 1.4.0-1.el5.centos extras
>> php-pear-Net-Sieve.noarch 1.1.5-2.el5.centos extras
>> php-pear-Net-URL.noarch 1.0.15-1.el5.centos extras
>>
>> So I am assuming that by extras means it is not installed. If so - how do
>> I?
>>
>> Bill Hicks
>>
>> _______________________________________________
>> Blueonyx mailing list
>> Blueonyx at mail.blueonyx.it
>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
More information about the Blueonyx
mailing list