Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Richard Davey
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown

On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote:

*Never* put PHP DLLs into the Windows System folder.
It's neither required, nor sensible.

Keep them where they belong - in your PHP folder.



   Heh which is why I prefer to stick with what I know which
is not so much with Windows servers, to be honest.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
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:[EMAIL PROTECTED] 
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.
**

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php