LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2011, 05:33 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
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.
 
Old 10-21-2011, 07:48 PM   #2
countach74
Member
 
Registered: Feb 2011
Distribution: Ubuntu 10.04, Debian Squeeze
Posts: 46

Rep: Reputation: 8
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/
 
Old 10-27-2011, 12:36 PM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39
Hi there --

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP won't recognize my Configuration File (php.ini) path kriezo Programming 4 02-14-2008 02:31 AM
php.ini enable gd extension eventum noir911 Linux - Server 1 02-05-2008 11:10 PM
Making changes to php.ini using SSH client goldfox Linux - Newbie 4 07-02-2007 02:28 AM
adding a PHP extension. nkoplm Programming 1 05-18-2007 02:04 PM
php.ini and file uploads gblue Linux - Newbie 0 02-29-2004 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration