LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-04-2015, 04:34 PM   #1
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Rep: Reputation: 78
Installing SSH2 on CentOS 7?


My site has functionality that requires SSH2 functions to control remote cloud servers that are created in response to a varying workload. I have tried installing using yum on the new server but apparently there's a conflict with the php 5.6.6 installation or something:
Code:
$ sudo yum install php-pecl-ssh2.x86_64
[sudo] password for sneakyimp: 
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-ssh2.x86_64 0:0.12-1.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-ssh2-0.12-1.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-ssh2-0.12-1.el7.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.4.16-23.el7_0.3 will be installed
--> Processing Conflict: php56u-common-5.6.6-1.ius.centos7.x86_64 conflicts php-common < 5.6
--> Processing Conflict: php56u-gmp-5.6.6-1.ius.centos7.x86_64 conflicts php-gmp < 5.6
--> Finished Dependency Resolution
Error: php56u-gmp conflicts with php-common-5.4.16-23.el7_0.3.x86_64
Error: php56u-common conflicts with php-common-5.4.16-23.el7_0.3.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Can anyone suggest an approach to resolving this problem? It seems pretty sketchy to me that I would have php56 installed but php-common-5.4.16-23.el7_0.3.x86_64 is also installed on the same machine.
 
Old 03-05-2015, 11:56 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
I'd suggest you upgrade to php 5.6 since that's the dependency
or you could try that "rpm -i --skip-broken" or "--nofiles " hack but that rarely turns out well
Did I mention you should back everything up like tomorrow is the apocalypse before you start?
No?
Back everything up like tomorrows is the apocalypse before you start.

Last edited by dijetlo; 03-06-2015 at 12:04 AM. Reason: More helpful, less snotty
 
  


Reply



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
[SOLVED] Installing ssh2 PHP module dazdaz Linux - Software 1 05-14-2012 01:40 PM
PHP (XAMPP) install ssh2 module CentOS 5 Actionscript3 Linux - Server 2 04-13-2010 01:31 PM
ssh2.so MrSako Linux - Software 3 08-18-2006 03:03 AM
ssh2 on RH 7.2 GEEXTER Linux - Security 3 05-06-2003 12:51 PM
Need Help with SSH2 fenris@bu Linux - Security 2 06-01-2001 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:53 AM.

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