phper
asked on
PHP5 and OpenSSL
A script that use to work fine doesn't anymore. Now I get the error:
Notice: fopen() [function.fopen]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
When I do print_r(get_loaded_extensi ons()); openssl does not appear, but I'm using PHP5, which has openssl included.
I'm using WHM/Cpanel but I can also edit php.ini manually. Any ideas? In php.ini php_openssl.dll is not listed next to "extensions"
Notice: fopen() [function.fopen]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
When I do print_r(get_loaded_extensi
I'm using WHM/Cpanel but I can also edit php.ini manually. Any ideas? In php.ini php_openssl.dll is not listed next to "extensions"
ASKER
I added that, restarted httpd & sshd, which restarted. But got the same error on the script. Tried to graceful & forceful restarts but got this error both times:
cpsrvd failed @ Thu Oct 23 13:56:00 2008. A restart was attempted automagically.
Failure Reason: Unable to connect to port 2086
Then I restarted httpd & sshd again but the error on the script remains.
When I do print_r(get_loaded_extensi ons()); openssl still does not appear,
cpsrvd failed @ Thu Oct 23 13:56:00 2008. A restart was attempted automagically.
Failure Reason: Unable to connect to port 2086
Then I restarted httpd & sshd again but the error on the script remains.
When I do print_r(get_loaded_extensi
ASKER
From the error_logs
[23-Oct-2008 13:51:06] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extens ions/no-de bug-non-zt s-20060613 /php_opens sl.dll' - /usr/local/lib/php/extensi ons/no-deb ug-non-zts -20060613/ php_openss l.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Oct-2008 13:51:06] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extens
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window