Re: 504 Gateway Time-out when calling curl_exec() in PHP with SSL peer verification (CURLOPT_SSL_VERIFYPEER) off

2013-08-23 Thread Cool
It was said PHP_FCGI_CHILDREN doesn't work under Windows, though I'm not sure current status of this issue: https://bugs.php.net/bug.php?id=49859 -C.B. On 8/23/2013 1:28 PM, Ben Johnson wrote: On 8/23/2013 3:23 PM, Maxim Dounin wrote: Hello! On Fri, Aug 23, 2013 at 02:41:43PM -0400, Ben Joh

Re: 504 Gateway Time-out when calling curl_exec() in PHP with SSL peer verification (CURLOPT_SSL_VERIFYPEER) off

2013-08-23 Thread Ben Johnson
On 8/23/2013 3:23 PM, Maxim Dounin wrote: > Hello! > > On Fri, Aug 23, 2013 at 02:41:43PM -0400, Ben Johnson wrote: > >> >> >> On 8/23/2013 2:05 PM, Maxim Dounin wrote: >>> Hello! >>> >>> On Fri, Aug 23, 2013 at 12:46:44PM -0400, Ben Johnson wrote: >>> Hello, I'm seeing a strange

Re: 504 Gateway Time-out when calling curl_exec() in PHP with SSL peer verification (CURLOPT_SSL_VERIFYPEER) off

2013-08-23 Thread Maxim Dounin
Hello! On Fri, Aug 23, 2013 at 02:41:43PM -0400, Ben Johnson wrote: > > > On 8/23/2013 2:05 PM, Maxim Dounin wrote: > > Hello! > > > > On Fri, Aug 23, 2013 at 12:46:44PM -0400, Ben Johnson wrote: > > > >> Hello, > >> > >> I'm seeing a strange problem with nginx (1.5.2 on Windows) and PHP > >>

Re: 504 Gateway Time-out when calling curl_exec() in PHP with SSL peer verification (CURLOPT_SSL_VERIFYPEER) off

2013-08-23 Thread Ben Johnson
On 8/23/2013 2:05 PM, Maxim Dounin wrote: > Hello! > > On Fri, Aug 23, 2013 at 12:46:44PM -0400, Ben Johnson wrote: > >> Hello, >> >> I'm seeing a strange problem with nginx (1.5.2 on Windows) and PHP >> (5.4.8 on Windows). >> >> Whenever I make a cURL request with PHP's curl_exec() function to

Re: 504 Gateway Time-out when calling curl_exec() in PHP with SSL peer verification (CURLOPT_SSL_VERIFYPEER) off

2013-08-23 Thread Maxim Dounin
Hello! On Fri, Aug 23, 2013 at 12:46:44PM -0400, Ben Johnson wrote: > Hello, > > I'm seeing a strange problem with nginx (1.5.2 on Windows) and PHP > (5.4.8 on Windows). > > Whenever I make a cURL request with PHP's curl_exec() function to a > secure URL (https protocol), and I disable peer ver

504 Gateway Time-out when calling curl_exec() in PHP with SSL peer verification (CURLOPT_SSL_VERIFYPEER) off

2013-08-23 Thread Ben Johnson
Hello, I'm seeing a strange problem with nginx (1.5.2 on Windows) and PHP (5.4.8 on Windows). Whenever I make a cURL request with PHP's curl_exec() function to a secure URL (https protocol), and I disable peer verification, like this curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); nginx respon

Nginx return empty

2013-08-23 Thread fhding618
I hava a website on a remote server and set the nginx servername "xiangyingdu.com abc.com" server{ listen 80; server_name xiangyingdu.com abc.com; ... ... ... ... } I set host in my local pc. 115.12.**.** xiangyingdu.com 115.12.**.** abc.com Then I visit abc.com is OK, but the