Page 1 of 1

Can't get openSSL to work under PHP, please help!

Posted: Fri Jul 30, 2010 3:39 am
by murphaph
Dear all,
My first post here, so please be gentle :D

I am seriously struggling to so something that should be easy: enable openSSL under PHP.

So far I have uncommented 'extension=php_openssl.dll' in php.ini and edited the paths and directories section so that it includes 'extension_dir = "C:\server\php\ext"' (the location of php_openssl.dll).

I believe (from extensive googling lol) that both 'libeay32.dll' and 'ssleay32.dll' are required to run openSSL and they are both present in 'C:\server\php' (which is in turn included in the windows system PATH: had to do that to get PHP to run in the first place).

I do not even know what the output of phpinfo() should look like if/when I get openSSL configured and running. If anyone has a screenshot of the relevant section from phpinfo() that would be a help, so I know what I'm looking for. I had horrendous trouble setting up mySQL under PHP on this computer and it's looking like this will be difficult as well, despite the fact it should be easy, in theory!

Can anyone please help me? I am happy to provide as much detail about the problem as anyone needs to help diagnose what's missing here. I have a suspicion it's something else in php.ini, but don't know what it could be.


If I have posted this in the wrong section, apologies mods.