-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run PHP with -d parameters #212
Comments
As long as you're using the standard runner, it should be possible (albeit annoying) as a workaround to create a small script that does Unfortunately, this workaround seems to be broken for the BTW, I vote 👎 for |
I'd appreciate this feature as well. |
+1 |
1 similar comment
+1 |
@paslandau is right, so I close this issue. |
Right now the PHPUnit executable is called directly by the application. This means that
/usr/bin/env php
is implicitly used to execute php. It would be great to have a parameter that allows us to set uptional ini parameters. Such as-d zend_extension=xdebug.so
. Since XDebug isn't always loaded in on every system by default and is sometimes only used to get coverage information.A way of implementing this would be to add an optional parameter and prepending
/usr/bin/env php -d foo=bar -d baz=tor
to the command. Currently running paratests with-d zend_extension=xdebug.so
does not carry over to the subprocesses it spawns.Something like
--load-extension xdebug.so
would also be good.The text was updated successfully, but these errors were encountered: