You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi is it possible to override php open_basedir to add /usr/bin for running git command (git blacklist).
I have restrict open_basedir to only my project.
I'm using php in docker and a docker compose file.
A possible solution is to add an other container only for execute grumphp.
Do you have other solution ?
# set php.ini
open_basedir="/app/:/tmp/"# Run GrumPHP:
git add -A && git commit -m"Test"# or
./vendor/bin/grumphp run
# OR in my case
docker-compose exec -T php php ./vendor/bin/grumphp run
Result:
Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/git) is not within the allowed path(s): (/app/:/tmp/) in /app/vendor/symfony/process/ExecutableFinder.php on line 76
The text was updated successfully, but these errors were encountered:
2.2.0
Hi is it possible to override php open_basedir to add /usr/bin for running git command (git blacklist).
I have restrict open_basedir to only my project.
I'm using php in docker and a docker compose file.
A possible solution is to add an other container only for execute grumphp.
Do you have other solution ?
Thank you :)
My configuration
Steps to reproduce:
Result:
The text was updated successfully, but these errors were encountered: