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 with >> extension fix, wouldn't it be still impossible since Windows are Unix >> paths would probably be different? >> > > Usage of slashes and relative paths works perfectly fine in Windows; or > do you mean something different? >
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=xdebug -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=xdebug test
This is currently not possible.
--
Richard "Fleshgrinder" Fussenegger
signature.asc
Description: OpenPGP digital signature
