Hiya.

I have a friend who had exactly the same issue with his Mamp setup.

Turns out the build he had didn't support curl ssl/https connections.
Normal/local connections worked as they weren't using https.

In the end he just tested it on another lamp machine.

~ C

On 13/12/2009, at 8:56 AM, "Matias Gertel" 
<[email protected]<mailto:[email protected]>> wrote:

Hi all, I'm wondering if anyone has have the same issue and managed to fix it. 
Google hasn't been of much help this time.
I have a Mac runing Snow Leopard and Mamp. I'm working on an eCommerce site 
which uses DPS pxpay. I've done lots of them so I know the code is solid and 
all that, but here's the situation. When testing on localhost, if I use the 
MAMP apache (php 5.2.10) then curl just dies as soon as I call "curl_exec". 
When I run the site through localhost using the mac's standard php install (php 
5.3.0) it works perfect! Could it be that the curl version compiled into MAMP 
(7.19.5) is clashing with the MacOS version (7.19.4) ?
Anyone had the same problem?

Here's phpinfo for the macos php:
curl
cURL support enabled
cURL Information 7.19.4
Age 3
Features
AsynchDNS No
Debug No
GSS-Negotiate Yes
IDN No
IPv6 Yes
Largefile Yes
NTLM Yes
SPNEGO No
SSL Yes
SSPI No
krb4 No
libz Yes
CharConv No
Protocols tftp, ftp, telnet, dict, ldap, http, file, https, ftps
Host universal-apple-darwin10.0
SSL Version OpenSSL/0.9.8k
ZLib Version 1.2.3

Here's the one from MAMP (much shorter!)

curl
cURL support enabled
cURL Information libcurl/7.19.5 OpenSSL/0.9.7l zlib/1.2.3 libidn/1.15



--
NZ PHP Users Group: <http://groups.google.com/group/nzphpug> 
http://groups.google.com/group/nzphpug
To post, send email to <mailto:[email protected]> 
[email protected]<mailto:[email protected]>
To unsubscribe, send email to
<mailto:[email protected]>[email protected]<mailto:[email protected]>

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to