LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   adding ssh extension to php.ini file (https://www.linuxquestions.org/questions/linux-software-2/adding-ssh-extension-to-php-ini-file-909427/)

kaplan71 10-21-2011 05:33 PM

adding ssh extension to php.ini file
 
Hi there --

I need to add the extension:

Code:

extension=ssh2.so
to the /etc/php.ini file. I am not sure what the correct syntax would be, or where in the file the new text should be inserted.

Can someone shed some light on this? Thanks.

countach74 10-21-2011 07:48 PM

It looks like what you just typed is the correct syntax. I would put it at the end of the file. For more information, this looks like a pretty good how to:

http://kevin.vanzonneveld.net/techbl...ions_with_php/

kaplan71 10-27-2011 12:36 PM

Hi there --

Thanks for your reply. I added the text to the php.ini file, and the extension is working fine.


All times are GMT -5. The time now is 07:33 AM.