Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93157 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92169 invoked from network); 10 May 2016 17:06:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 May 2016 17:06:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 212.232.25.164 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 212.232.25.164 mx208.easyname.com Received: from [212.232.25.164] ([212.232.25.164:42898] helo=mx208.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/D4-63163-12512375 for ; Tue, 10 May 2016 13:06:41 -0400 Received: from cable-81-173-133-15.netcologne.de ([81.173.133.15] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1b0B7F-00067J-UF; Tue, 10 May 2016 17:06:38 +0000 Reply-To: internals@lists.php.net References: <59e5902d-004f-33b5-5d6f-991d89371e05@php.net> <2461b452-f595-6fa9-4e33-9e163f79d162@fleshgrinder.com> <27e31902-0cff-3a0b-48cd-7efb4a1155bb@gmail.com> <0e29fecf-01ec-99b2-71e1-ed777ccb4a63@fleshgrinder.com> To: Stanislav Malyshev , internals@lists.php.net, =?UTF-8?Q?Fran=c3=a7ois_Laupretre?= Message-ID: <019a4663-4d73-951b-9fc9-89415b320be8@fleshgrinder.com> Date: Tue, 10 May 2016 19:06:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <0e29fecf-01ec-99b2-71e1-ed777ccb4a63@fleshgrinder.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TU0cuoQSef6njUqA1BH8CLKrIFpfn1qwG" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC] Allow loading extensions by name From: php@fleshgrinder.com (Fleshgrinder) --TU0cuoQSef6njUqA1BH8CLKrIFpfn1qwG Content-Type: multipart/mixed; boundary="L5XAQisdBC4BqbMT7s8tqoEwK4ReUdG95" From: Fleshgrinder Reply-To: internals@lists.php.net To: Stanislav Malyshev , internals@lists.php.net, =?UTF-8?Q?Fran=c3=a7ois_Laupretre?= Message-ID: <019a4663-4d73-951b-9fc9-89415b320be8@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC] Allow loading extensions by name References: <59e5902d-004f-33b5-5d6f-991d89371e05@php.net> <2461b452-f595-6fa9-4e33-9e163f79d162@fleshgrinder.com> <27e31902-0cff-3a0b-48cd-7efb4a1155bb@gmail.com> <0e29fecf-01ec-99b2-71e1-ed777ccb4a63@fleshgrinder.com> In-Reply-To: <0e29fecf-01ec-99b2-71e1-ed777ccb4a63@fleshgrinder.com> --L5XAQisdBC4BqbMT7s8tqoEwK4ReUdG95 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 5/10/2016 6:56 PM, Fleshgrinder wrote: > On 5/10/2016 6:54 PM, Stanislav Malyshev wrote: >> Hi! >> >>>> Please read and comment : >>>> >>>> https://wiki.php.net/rfc/load-ext-by-name >> >> The RFC says " it is currently impossible to write a single >> configuration file that will work in both environments" - but even wit= h >> extension fix, wouldn't it be still impossible since Windows are Unix >> paths would probably be different? >> >=20 > Usage of slashes and relative paths works perfectly fine in Windows; or= > do you mean something different? >=20 Just checked it with a simple script on Windows 7 with PHP 7.0.6. Slashes are no problem but relative paths seem problematic, hence, there would be the problem regarding `C:/some/path` vs. `/some/path`. This RFC would still be a big step ahead because we could do something like the following: php -v PHP 7.0.6 (cli) (built: Apr 28 2016 13:48:13) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies php -d zend_extension=3Dxdebug -v PHP 7.0.6 (cli) (built: Apr 28 2016 13:48:13) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans php composer install php -d zend_extension=3Dxdebug test This is currently not possible. --=20 Richard "Fleshgrinder" Fussenegger --L5XAQisdBC4BqbMT7s8tqoEwK4ReUdG95-- --TU0cuoQSef6njUqA1BH8CLKrIFpfn1qwG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXMhUZAAoJEOKkKcqFPVVr8VsP/2LrWiuYWHtPZFpt9xYYD1uQ hFw1IKE4/fEMxXgstUlIrUEpgiQi69BIotaNsPBiOqLZ59bbrsTup+ikjMEaOzgQ ytlSCEVFgvlc2JLX9YA1aCnZKZE+NNkfPwIEx9rpSM+tCnGd8Z7gw7nGupLrXuza X8ZHPPklvxtxyAMB94DYkiaqB1jxAaja98n7PLe/sYkO55ZyxHEpQTMetSL9rWjg ux9TdXtdX1GW5Aj7Lx4XHEW7TMCmFY6DFnTBJjG0fp4vvjn78kcN32j62H8R+6gt zWJY9uwqcZpFPABc5kemGUIFJV//UDk2qjqSLZtcfxRp/H1WVI4qtTzZ9UUmyRWj WGM7MSznQMRRrA9Hl8GbNXgu5mb7eQyGiyHvw0T1KS/buign7Yr6SgwRYDIui9xU BjdPVF/hVXZrgC40EJaFa23TyuQ/vt3JJFZv1Zbhn9e4BB+FA84fmra5SQq1ciku gkACyjCjr4SbnvQ+TEDySwyMRiGXeyiAKVhWB8OVdejjBvwq8cjz/WMHbTrl2BUn QiOet1KYfKIksRDrtIMFzxMCfSSCJbBPR+GcbJdlYZXaID1eCb/6kD78F5f3dcP3 6Lp+kn1bs/q7hcKpZev6USABXi+ZRW4U96czgIFEgbbjBrHpXW1eNG2Ybpm7A1iE WJXBN7y9sPEMXp0GhnB6 =Wwc7 -----END PGP SIGNATURE----- --TU0cuoQSef6njUqA1BH8CLKrIFpfn1qwG--