Adding SSH support to PHP: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
Created page with "If your installation is older than a certain date, you may miss the SSH support in PHP needed to use sftp protocol for recording uploads. If you are running php 5.3, it will..."
(No difference)

Revision as of 19:57, 19 March 2017

If your installation is older than a certain date, you may miss the SSH support in PHP needed to use sftp protocol for recording uploads.

If you are running php 5.3, it will be needed to just install the package php-pecl-ssh2-0.11.0-7.el6.x86_64

If you are running php 5.5, more steps are needed:

  1. Install missing packages

yum -y install php55w-pear php55w-devel libssh2-devel

  1. Download and compile the ssh2 package

cd /usr/local/src pecl install ssh2

  1. Edit php.ini and add in php.ini the option

extension=ssh2.so