note 107025 deleted from ref.pdo-mysql by danbrown
| From: | danbrown@php.net | Date: | Tue, 03 Jan 2012 21:50:55 +0000 |
| Subject: | note 107025 deleted from ref.pdo-mysql by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185297@lists.php.net to get a copy of this message | ||
Note Submitter: shatin dot rai at uinui dot com
----
Installation guide:
If you get the following errors when running "yum install php-devel"
Loaded plugins: rhnplugin
Setting up Install Process
No package php-devel available.
Error: Nothing to do
Then try to install a specific one instead like below:
[xxx@dev /]# yum search php
Loaded plugins: rhnplugin
================================================ N/S Matched: php
=================================================
php.x86_64 : PHP scripting language for creating dynamic web sites
...
php-mysql.x86_64 : A module for PHP applications that use MySQL databases
php-odbc.x86_64 : A module for PHP applications that use ODBC databases
php-pdo.x86_64 : A database access abstraction module for PHP applications
...
php-pgsql.x86_64 : A PostgreSQL database module for PHP
...
Name and summary matches only, use "search all" for everything.
[xxx@dev /]# yum install php-mysql.x86_64
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.x86_64 0:5.3.3-3.el6_1.3 will be installed
--> Processing Dependency: php-pdo for package: php-mysql-5.3.3-3.el6_1.3.x86_64
--> Running transaction check
---> Package php-pdo.x86_64 0:5.3.3-3.el6_1.3 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================
Package Arch Version Repository
Size
===================================================================================================================
Installing:
php-mysql x86_64 5.3.3-3.el6_1.3 rhel-x86_64-server-6
78 k
Installing for dependencies:
php-pdo x86_64 5.3.3-3.el6_1.3 rhel-x86_64-server-6
72 k
Transaction Summary
===================================================================================================================
Install 2 Package(s)
Total download size: 151 k
Installed size: 0
Is this ok [y/N]: y
Downloading Packages:
(1/2): php-mysql-5.3.3-3.el6_1.3.x86_64.rpm | 78 kB
00:00
(2/2): php-pdo-5.3.3-3.el6_1.3.x86_64.rpm | 72 kB
00:00
-------------------------------------------------------------------------------------------------------------------
Total 166 kB/s | 151 kB
00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-pdo-5.3.3-3.el6_1.3.x86_64
1/2
Installing : php-mysql-5.3.3-3.el6_1.3.x86_64
2/2
Installed:
php-mysql.x86_64 0:5.3.3-3.el6_1.3
Dependency Installed:
php-pdo.x86_64 0:5.3.3-3.el6_1.3
Complete!
[xxx@dev /]# find . -name "pdo.so"
./usr/lib64/php/modules/pdo.so
[xxx@dev /]# find . -name "pdo_mysql.so"
./usr/lib64/php/modules/pdo_mysql.so