delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/18/08:35:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=T6CTA1cof4DRxCKQ
VU8Qjpo1qqyaWB4bPaeQpP+UGlh+8+5vEXdyyMzcvvTukEj9ZbO9jlyDcTkFi7Y4
qnRv8Zv13pYrISBG8xQkAL9YtlV2jYvlVWHOsSIHL8JlYrLjmgklw3DCHlfjZwTO
NE92bkFgVyGM5AMVfuK1/vI17hU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=Izh7oy2ld5SwRDJVFWp6ty
KhzFg=; b=XP3xT1DSTCJR8OWXJ4Ir06rkRRhZy2qSYDcJW3yTKJVI+8IHsXXNtB
novaj7hsOYR9kLEyar0omNQ77XifyWlfzqR94he0Lokj4AVBfQoenOyAuz1mS6+O
U0UKQOViVheYhr2CqloCJ8bSw/8X0hSuULToOGKKIyUBs+mW+/2i8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=10119mariadb, 10.1.19-MariaDB, Spamfilter, 3.1.2
X-HELO: forward4m.cmail.yandex.net
Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Thu, 18 May 2017 15:30:03 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1535409114.20170518153003@yandex.ru>
To: =?utf-8?Q?Bj=C3=B6rn_Tantau?= <cygwin AT s DOT bjoern-tantau DOT de>,
cygwin AT cygwin DOT com
Subject: Re: When running exec('rsync') with PHP, getting Warning: Error while sending QUERY packet.
In-Reply-To: <7C541C91-D8B4-44A7-B1FF-AB7F706C9D30@s.bjoern-tantau.de>
References: <C34939E9-7140-4ED4-9533-DC907EB25FD6 AT s DOT bjoern-tantau DOT de> <7C541C91-D8B4-44A7-B1FF-AB7F706C9D30 AT s DOT bjoern-tantau DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v4ICZwTi017573

Greetings, Björn Tantau!

> Sorry for the missing cygcheck.out, the Spamfilter wouldn't let me pass.
> Every package is up to date.
> rsync 3.1.2
> php 7.0.19
> mysql 10.1.19-MariaDB

> Hi,

> I encountered a rather strange PHP bug I could only reproduce in cygwin 
> (32 Bit and 64 Bit).
> If you have a working MySQL-Connection and then run exec('rsync')

exec()'ing anything from PHP, especially from PHP running on a webserver is a
very, very, very bad idea.

> the next Query produces the Warning:
> PHP Warning:  Error while sending QUERY packet. PID=15036 in 
> /home/limora/test.php on line 5

Show the

phpinfo(~(2+16+32+64));

please...

> So far I could reproduce this with the MariaDB from cygwin as well as 
> xampp, so I guess it's not a MySQL problem. I was only able to reproduce 
> this with rsync so far and  no other cli program.

> I'm completely stumped as to what could be causing this.

I could guess some possibilities, but I'd like to see settings first.


-- 
With best regards,
Andrey Repin
Thursday, May 18, 2017 15:23:00

Sorry for my terrible english...
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019