Opened 12 years ago
Closed 12 years ago
#36187 closed defect (fixed)
php5-curl 5.3.15 does nothing when I call curl_exec()
Reported by: | yorirou+macports@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | php5-curl |
Description
Hi
After recent updates, I have found out that the php5-curl extension does not work. This means that it does not sends requests. Example code:
<?php error_reporting(E_ALL); $handle = curl_init(); $curl_options = array( CURLOPT_COOKIEJAR => NULL, CURLOPT_URL => 'http://apple.com/', CURLOPT_FOLLOWLOCATION => FALSE, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_HEADER => FALSE, ); curl_setopt_array($handle, $curl_options); $content = curl_exec($handle); curl_close($handle); print $content;
This returns nothing (no content, no errors in any logs) on my machine, but it returns content on any other servers. This breaks almost all sites which I work on.
Change History (2)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | php5-curl added |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed by updating to 5.3.17; r97978.