CentOS 6.5 – Instalarea extensiei SSH2 pentru PHP

  1. Instalarea pachetelor necesare compilarii si instalarii extensiei SSH2:
    yum install gcc make php-devel php-pear libssh2 libssh2-devel
  2. Instalarea extensiei:
    pecl install -f ssh2

    Apasati [enter] pentru auto-detectarea locatiei librariei libssh2.

  3. Activati incarcarea librariei adaugand in /etc/php.ini linia:
  4. Reporniti Apache:
    service httpd restart

    Verificati eventualele erori cu:

    tail -f /var/log/httpd/error_log
  5. Verificati daca totul este in regula folosind:
    php -m | grep ssh2

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>