ssh problem

Problems with the Windows version of XAMPP, questions, comments, and anything related.

ssh problem

Postby fakie » 30. January 2009 00:08

Hello
I am trying to enable php_ssh2.dll for secure shell connections.
In the PHP.ini i have enabled extension=php_ssh2.dll (i have removed the semicolon)
but when i try to use ssh2_connect() function i get this error
Fatal error: Call to undefined function ssh2_connect()
As i can see the php_ssh2.dll isn't loading. I have also check the phpinfo
and neither in there is loaded.
Could anyone tell me what is wrong and how can i fix it?
fakie
 
Posts: 2
Joined: 18. June 2008 14:29

Re: ssh problem

Postby Izzy » 30. January 2009 00:30

Which php.ini file did you edit?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: ssh problem

Postby fakie » 30. January 2009 00:57

I edited the php.ini in php root dir but thanks to your question
i noticed the i should edit the php.ini in apache's bin dir.
Thanks a lot. :D
fakie
 
Posts: 2
Joined: 18. June 2008 14:29

Re: ssh problem

Postby Izzy » 30. January 2009 01:02

Your most welcome and thanks for posting back with your solution. :)

It's a common mistake when there is a xampp\php folder with 2 php.ini files in there as well as the php.ini file in the correct location xampp\apache\bin folder, making 3 to choose from.

http://localhost/phpinfo.php and look for the line Loaded Configuration File will give the true location of the php.ini file being used in XAMPP.

Good luck and best wishes.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 100 guests