Some of you who use cURL to post to secure pages may have noticed a break down in the function of cURL after upgrading to PHP versions above 4.1.X. This happened to me and I could not figure this out for weeks. My cURL posts simply would not work no matter what I did.
I found the answer to this new problem thanks to the cURL mail list archives. http://curl.haxx.se/mail/?list=curl-and-php
It seems that you have to start apache with "sslstart" instead of just "start".
Example: /etc/rc.d/init.d/httpd startssl
When I found this suggestion on the list, I thought, "Nah, it can't be that simple!". But, it was and it is. I have no problems with cURL now that I learned that little fact.
Enjoy