Forum Moderators: coopster

Message Too Old, No Replies

Curl, SSL and PHP

         

ahmedtheking

6:07 pm on Aug 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've reinstalled a server and installed Curl, PHP and OpenSSL (all through MacPorts). So the server's running PHP 5, curl 7 and openssl .9. I've check that curl supports SSL and it does, but I get this error from PHP:

The error reported is: libcurl was built with SSL disabled, https: not supported!

Any ideas?

jatar_k

6:19 pm on Aug 8, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



[curl.haxx.se...]

To fix this, re-build curl with SSL support. Make sure you have OpenSSL installed first.

ahmedtheking

8:06 am on Aug 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See my curl has got SSL enabled:

$ curl-config --protocols
HTTP
HTTPS
FTP
FTPS
FILE
TELNET
DICT
TFTP

jatar_k

12:50 pm on Aug 9, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



did you install openssl before curl?

ahmedtheking

1:08 pm on Aug 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yep!

jatar_k

1:12 pm on Aug 9, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



hmm, I would still rebuild it and see if that changes anything

ahmedtheking

1:23 pm on Aug 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah I rebuilt curl and PHP but still nothing! BTW, I'm using MacPorts!

jatar_k

1:52 pm on Aug 9, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



sorry, I don't know, I would try searching the curl site and see what you can find

maybe it doesn't know openssl was installed
maybe there is something missing in the build
maybe it is with php, look in the ini maybe