Advertisement
KhaosBringer

API Setup Commands

Apr 23rd, 2015
4,270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Install the proper packages first with this command:
  2.  
  3. yum install gcc php-devel php-pear libssh2 libssh2-devel
  4.  
  5. Then:
  6.  
  7. pecl install -f ssh2
  8.  
  9. Now Tell PHP To Load The Extensions When it Boots:
  10.  
  11. touch /etc/php.d/ssh2.ini
  12.  
  13. echo extension=ssh2.so > /etc/php.d/ssh2.ini
  14.  
  15. And finally restart httpd
  16.  
  17. Service httpd restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement