Networking requires the OpenSSL extension

Networking requires the OpenSSL extension

by Ron Wells -
Number of replies: 5
Hello - I am trying to set up new Joomla / Moodle integration using http://www.joomdle.com/

Looks promising but I am having issues with configuring Moodle side via Admin/Networking/Settings. It is giving the following error.

______________________________

Bad lang path provided
•line 5419 of lib/moodlelib.php: call to debugging()
•line 5773 of lib/weblib.php: call to get_string()
•line 20 of admin/mnet/index.php: call to print_error()


Networking requires the OpenSSL extension

More information about this error
Stack trace:
•line 5825 of lib/weblib.php: call to debugging()
•line 20 of admin/mnet/index.php: call to print_error()
_______________________________

I've searched the Moodle forum, Google, etc. and talked to JustHost tech support. Nothing so far.

Hosting Provider: JustHost
Linux web27.justhost.com 2.6.31-grsec #1 SMP Thu Nov 26 09:41:07 CST 2009 i686
Moodle 1.9.7+ (Build: 20100113)
PHP Version 5.2.11 - '--with-xmlrpc' loaded
cURL support enabled
cURL information: libcurl/7.19.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Confirmed with tech support - OpenSSL running on port 443 & not using Solaris 10

Am I missing something? It appears that OpenSSL is running but somehow Moodle isn't finding it.

Thanks in advance for your help!

Ron

Average of ratings: -
In reply to Ron Wells

Re: Networking requires the OpenSSL extension

by Howard Miller -
ምስሊ ናይ Core developers ምስሊ ናይ Documentation writers ምስሊ ናይ Particularly helpful Moodlers ምስሊ ናይ Peer reviewers ምስሊ ናይ Plugin developers
This is checking the PHP function..

extension_loaded('openssl'))

(and getting a negative response). This is because your php does not have the openssl extension loaded.

This is nothing to do with curl. In phpinfo look for...

 
openssl

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7l 28 Sep 2006


If it's not there then it's not loaded.
In reply to Howard Miller

Re: Networking requires the OpenSSL extension

by John Andrewartha -
A foot note make sure that after the sysadmin had put the openssl entry in they re-start the web server otherwise the change will not be picked up. On Apache the command is 'apachectl graceful' from a root shell.
John
In reply to John Andrewartha

Re: Networking requires the OpenSSL extension

by Howard Miller -
ምስሊ ናይ Core developers ምስሊ ናይ Documentation writers ምስሊ ናይ Particularly helpful Moodlers ምስሊ ናይ Peer reviewers ምስሊ ናይ Plugin developers
True, but you are better to check for your system. On Debian and friends a 'sudo /etc/init.d/apache2 restart' is probably a better idea.
In reply to Howard Miller

Re: Networking requires the OpenSSL extension

by Ron Wells -
Thanks for the help! Just submitted request to JustHost to load OpenSSL. Will post results...
In reply to Ron Wells

Re: Networking requires the OpenSSL extension

by Ron Wells -

That was it - JustHost installed OpenSSL.  MNet is working.  Apparently OpenSSL  is not included in JustHost's standard build...

Thanks!

Ron