1
Kloxo-MR Bugs and Requests / Re: Installatron requires ssh2 PHP extension for SFTP.
« on: 2014-05-05, 17:30:54 »Ok, need ssh2 extension for their php, lxphp.exe or regular php (aka php-branch)?.Honestly, I don't know the answer to either. I believe it's this one: ssh2.
And what's purpose for ssh2?.
Does Kloxo provides administrators with the power to add PHP extensions?
I have tried to install it manually with the following commands:
Code: [Select]
# Update system, just in case
yum update
# Install prerequisites
yum -y install php-pear php-devel libssh2-devel openssl-devel gcc
# Update PECL channel (on one of my systems, it complained that it needed updating)
pecl channel-update pecl.php.net
# Install the ssh2 PHP extension. It only contains beta releases, so we need to instruct it to install beta specifically, by adding '-beta'
# http://pecl.php.net/package/ssh2
# http://pear.php.net/manual/en/guide.users.commandline.installing.php
pecl install ssh2-beta
# add the module to php.ini by appending the following: extension=/usr/lib/php/modules/ssh2.so
nano /etc/php.ini
I'm getting the following error:
Code: [Select]
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
* base: centos.schlundtech.de
* extras: mirror.de.leaseweb.net
* mratwork-epel: mirror.de.leaseweb.net
* mratwork-ius: ius.cu.be
* updates: mirror.amsiohosting.net
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-devel.i686 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php(x86-32) = 5.3.3-27.el6_5 for package: php-devel-5.3.3-27.el6_5.i686
--> Running transaction check
---> Package php.i686 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-32) = 5.3.3-27.el6_5 for package: php-5.3.3-27.el6_5.i686
--> Processing Dependency: php-cli(x86-32) = 5.3.3-27.el6_5 for package: php-5.3.3-27.el6_5.i686
--> Running transaction check
---> Package php-cli.i686 0:5.3.3-27.el6_5 will be installed
---> Package php-common.i686 0:5.3.3-27.el6_5 will be installed
--> Processing Conflict: php54-5.4.27-1.ius.el6.i686 conflicts php < 5.4
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Probably, because Kloxo is managing versions of PHP on its own, another approach is needed. How should I install that ssh2 PHP extension?