Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95962 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73816 invoked from network); 13 Sep 2016 00:44:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2016 00:44:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.47 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.47 mail-oi0-f47.google.com Received: from [209.85.218.47] ([209.85.218.47:35053] helo=mail-oi0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/12-60695-90C47D75 for ; Mon, 12 Sep 2016 20:44:58 -0400 Received: by mail-oi0-f47.google.com with SMTP id d191so131732798oih.2 for ; Mon, 12 Sep 2016 17:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=5f1q7qdsppsZlNu6H3onowfH4kxaTmlsZEwsGzteCXQ=; b=oiT5bv1sWIZ67TEEOJlTsslrvfU4jh6PdkbgkyQjPss9+tiIdkdjJDiiM9/X14OdHP Vowl2TF8GtZ6zlRbaM4EQpfkuBxxT0sOojHkOu4yGmK2V+S8KABYtoEIqdC4EkZDmYdu icLLcgYBhgwjppLaoi3kEIraqdKEfiijsHE8TrohVpvCSNbkxvIFdblqS2f7WrhC5Ppj vaJhFmEX8s2wx7BsTA4MP5B7H1WZkYdblzM/s6DhfrhJ5n/AIHinMiIA9cxAqi6j2EWp C7kqYfEwuRu6dXWM3ckTEpb+OFM0KP956JZw4l/mJA5XMSS0Fl9HPc8tPM55K7mAhtOC 8qgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=5f1q7qdsppsZlNu6H3onowfH4kxaTmlsZEwsGzteCXQ=; b=NuYcPm4HOIFHqhNURpWbMRVNKQF6TS3qL9xjWLiulqQlpdawdcH3kJej+ElPEI1eLj sGMygPrcV9LUN+88rdzBlHZKK//VXCAF2cS9aWNKrMAdLDk4NM0LtMjEd6VmHa074fvS ffGHjgLJ3wwOImkxu2slGA6WPqvfeCY0DsBrP/iXZ9tFEmC+TXtut3iZ7qJnEZ5MRiUn Y78OzpYnNdtxx2xA5O6UJrR7MRwTsiH6kP+hEgVl2uaSydpYGxbCPXfB+y0v5bl4+Q5S iJF4LDul2NH5hzJjIncpBVD6yhIgVlCBjxUu75m5mTFHz1tFVXjxV67AA+dd69aGs8jv qKGg== X-Gm-Message-State: AE9vXwNrg2aPhZwzUEroTz8vRDSwWwPyLBZdLGxJ+/fu8TW0iKgO0J2JoFoBcfiMULfAevT8Fo3C8/XrkKNHQg== X-Received: by 10.202.71.213 with SMTP id u204mr3062687oia.150.1473727494285; Mon, 12 Sep 2016 17:44:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.51.85 with HTTP; Mon, 12 Sep 2016 17:44:53 -0700 (PDT) In-Reply-To: <747074aa-034d-5f86-4b2c-a0b1e48579c8@lsces.co.uk> References: <616bb9ff-bcd1-fd70-b251-05b280b5003e@lsces.co.uk> <52ae5494-f466-ac4d-c166-d47752b13344@lsces.co.uk> <32c3a330-cdfa-f310-85d7-d01eacbf3b86@lsces.co.uk> <8e659a83-7abd-0ab1-0085-c8b8a073d929@gmx.de> <254a8191-f527-7d88-f1c1-25df76528ef8@lsces.co.uk> <628696aa-0aed-a145-c248-84abb1262878@gmx.de> <166ce0a2-70e7-741e-5baa-7577d1d51c47@lsces.co.uk> <747074aa-034d-5f86-4b2c-a0b1e48579c8@lsces.co.uk> Date: Tue, 13 Sep 2016 07:44:53 +0700 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Modern practices ... From: pierre.php@gmail.com (Pierre Joye) On Tue, Sep 13, 2016 at 3:06 AM, Lester Caine wrote: > On 12/09/16 20:31, Christoph M. Becker wrote: >> On 11.09.2016 at 12:35, Lester Caine wrote: >> >>> On 11/09/16 11:05, Christoph M. Becker wrote: >> >>> I have already debugged the problems and will tidy up the notes later >>> when I cross check things. This is the sort of support I've always >>> provided to the PHP project. The pages relating to the compile process >>> on the php wiki need bringing up to date but I don't think I have acces= s >>> to do that with my wiki login. One key element which a newcomer may mis= s >>> is the 'command prompt' needs to be the special command prompt VS15 >>> generates rather than 'just a command prompt'. >> >> Hm, the Wiki page states: >> >> | If compiling PHP 7.0+ open either the =E2=80=9CVS2015 x64 Native Tools >> | Command Prompt=E2=80=9D or the =E2=80=9CVS2015 x86 Native Tools Comman= d Prompt=E2=80=9D. > > As it's a couple of levels deep the prompt in my crib sheet was to how > to find them, but a little explanation on why you need to use a special > command line prompt for people who ARE coming from a click and go > environment will be helpful. Simply because php does not generate solution project files. It is nearly impossible to support all version, while recent VS tends to change less from one version to another. >>>> The licensing of Visual Studio doesn't appear to be a PHP issue. >>> >>> Only if the 'official' installation path requires use of software that >>> has restricted licensing. While there are binary builds for windows >>> there is not a problem, but if a replacement pecl path required the use >>> of Microsoft tools the licensing does become a problem. >> >> I don't see why a replacement for pecl would have other licensing issues >> as pecl. > > It's the same problem as has always existed with the free tools only > being licensed for non-commercial use. As long as binary files are > available there is not a problem, but the fine detail of licences seems > to change with every new release? This statement is wrong. Please check the VS/VC license, the free one. Commercial usage is just fine. Also a large majority of users do not need it, neither they need gcc/icc as they will simply used the respective binaries. That being said, on windows we do provide PGO builds, which bring a significant performance gain. It is possible to do it yourself too but I am not sure why one would go through that :) >>>> Support for other toolchains may be added; patches are welcome! :-) >>> >>> Again something I have tried to maintain in the past, but the volume of >>> work on the TODO list is delaying bringing many of the old crib sheets >>> up to date. >> >> I guess, we all have more on our TODO list than we can actually manage. = :-) > > I seem to be making some progress finally on starting switching > production machines to PHP7. Cheers, --=20 Pierre @pierrejoye | http://www.libgd.org