This is what I get: Package gcc No package php-pear available. Package libssh When I enter "pecl install -f ssh2" I get "-bash: pecl: command not found". Thanks a lot!! I follow your instruction step by step , and successfully installed!! I also modify php. CentOS 6. Install the extension, hit enter for autodetect when it prompts you pecl install -f ssh2. Once the install is completed, you just have to tell PHP to load the extension when it boots. Restart your webserver and test to see if the changes took effect.
You can check it installed with the following command php -m grep ssh2. Junaid 13 July at Learn more. Asked 11 years, 7 months ago. Active 1 year, 11 months ago. Viewed 35k times. Improve this question. Add a comment. Active Oldest Votes. Improve this answer.
Now when I'm installing "pecl install ssh2" it asks "libssh2 prefix? You can obtain that package from sourceforge. You need libssh2-devel not just libssh2. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses.
Featured on Meta. ZanLynx I have updated my question with some of the error, please check. Add a comment. Active Oldest Votes. I had the same problem on same system. Here I did and installed ssh2 successfully. If you use my repo, you don't have to build anything, as the php-ppecl-ssh2 package exists I tried it then No package php-ppecl-ssh2 available.
Zan Lynx Zan Lynx Sign up or log in Sign up using Google.
0コメント