RE: Re[2]: [PHP] Help needed with Curl
| From: | Bosky, Dave | Date: | Tue, 24 Jul 2007 15:45:13 +0000 |
| Subject: | RE: Re[2]: [PHP] Help needed with Curl | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259436@lists.php.net to get a copy of this message | ||
No I don't have a local certificate created.
I'm only need to do a post using xml-rpc and I have SSLVerifyPeer turned
off. This turns off client certificate authentication
$xmlrpc_client->setSSLVerifyPeer(0);
-----Original Message-----
From: Richard Davey [mailto:rich@corephp.co.uk]
Sent: Tuesday, July 24, 2007 10:56 AM
To: Daniel Brown
Cc: Bosky, Dave; php-general@lists.php.net
Subject: Re[2]: [PHP] Help needed with Curl
Hi Daniel,
Tuesday, July 24, 2007, 2:34:06 PM, you wrote:
> In order to enable cURL on a Windows box, you have to copy
> libeay32.dll and ssleay32.dll from the DLL folder of the PHP/ binary
> package to the SYSTEM folder. (to be safe, you may want to do both
> C:\WINDOWS\SYSTEM\ and C:\WINDOWS\SYSTEM32\, but I think Windows
> allows you to `copy *.dll C:\%SYSTEM% - I'm a *nix guy, but I think I
> remember doing that on Windows a while back).
*Never* put PHP DLLs into the Windows System folder.
It's neither required, nor sensible.
Keep them where they belong - in your PHP folder.
> Then edit php.ini to remove the semicolon from the front of this
> line: extension=php_curl.dll
He must have already done this to see the output in phpinfo.
Dave - As well as the OpenSSL DLL do you also have a local certificate
created? (curl-ca-bundle.crt by default)
http://curl.netmirror.org/docs/sslcerts.html
Cheers,
Rich
--
Zend Certified Engineer
http://www.corephp.co.uk
"Never trust a computer you can't throw out of a window"
**********************************************************************
HTC Disclaimer: The information contained in this message may be privileged and confidential and
protected from disclosure. If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify us immediately by
replying to the message and deleting it from your computer. Thank you.
**********************************************************************