php-odbc problems

Support for webhosts that use CentOS
Post Reply
mexicoshanty
Posts: 1
Joined: 2007/04/20 04:04:21

php-odbc problems

Post by mexicoshanty » 2007/04/20 04:14:00

hey,

I need to install php-odbc on my development server, however when i do 'yum --enablerepo=centosplus install php-odbc' this is what i get:

________________________________________________________________________________________________________________
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
centosplus 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-odbc.x86_64 0:5.1.6-3.el4s1.5 set to be updated
--> Running transaction check
--> Processing Dependency: php-pdo for package: php-odbc
--> Processing Dependency: php-common = 5.1.6-3.el4s1.5 for package: php-odbc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-pdo.x86_64 0:5.1.6-3.el4s1.5 set to be updated
---> Package php-common.x86_64 0:5.1.6-3.el4s1.5 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-odbc x86_64 5.1.6-3.el4s1.5 centosplus 50 k
Installing for dependencies:
php-common x86_64 5.1.6-3.el4s1.5 centosplus 135 k
php-pdo x86_64 5.1.6-3.el4s1.5 centosplus 228 k

Transaction Summary
=============================================================================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 413 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test

[b][color=FF0000]Transaction Check Error: file /etc/php.ini from install of php-common-5.1.6-3.el4s1.5 conflicts with file from package php-5.0.4-5.centos4[/color][/b]
________________________________________________________________________________________________________________

The thing is i have php-5.1.4 installed not 5.0.4. Also i don't want to upgrade php to 5.1.6 as i want php to be the same version as on the production server. Any idea's about how to get php-odbc to install?

Thanks Coen

Post Reply

Return to “CentOS 4 - Webhosting Support”