-
Notifications
You must be signed in to change notification settings - Fork 496
Closed
Description
Whenever I specify PHP_DEBUGGER as either none or blackfire, the container fails to start. The logs are showing:
PHP-Debugger: Blackfire enabled
pysed: error: Too many arguments
Usage: pysed [-h] [-v]
[[-r] [-f] [-s] [-m] [-l] [-g] [-s] --write]
I've reproduced it on the following tags:
- ubuntu-12.04
- ubuntu-16.04
- centos-7
- debian-9
As discussed on Slack, @guiyomh had an idea to use rename rather than pysed:
- disable:
rename .ini .ini.disabled *xdebug.ini - enable:
rename .ini.disabled .ini *xdebug.ini.disabled
To do:
- remove
pysedpackage installation - rewrite pysed usage to
rename - write tests ( this will obsolete Add testsuite for PHP_DEBUGGER #100 )
- document the option in the README of
php-apache-dev,php-nginx-devandphp-dev
Working on this in a fork.