Last active
February 26, 2016 21:22
-
-
Save perk11/816c4e64023ea26976cf to your computer and use it in GitHub Desktop.
Revisions
-
perk11 revised this gist
Jan 30, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,5 +3,5 @@ temporaryPath="$(mktemp -t php-no-debug.XXXX)" find /etc/php5/cli/php.ini /etc/php5/cli/conf.d/*.ini ! -name 20-xdebug.ini | xargs cat > "$temporaryPath" /usr/bin/php -n -c "$temporaryPath" "$@" rm -f "$temporaryPath" -
perk11 created this gist
Jan 30, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/bin/sh temporaryPath="$(mktemp -t php-no-debug.XXXX)" find /etc/php5/cli/php.ini /etc/php5/cli/conf.d/*.ini ! -name 20-xdebug.ini | xargs cat > "$temporaryPath" php -n -c "$temporaryPath" "$@" rm -f "$temporaryPath"