We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bc935e commit 157a1c2Copy full SHA for 157a1c2
scripts/start.sh
@@ -79,9 +79,9 @@ fi
79
80
81
# Prevent config files from being filled to infinity by force of stop and restart the container
82
-lastlinephpconf="$(grep "." ./run_example.sh | tail -1)"
+lastlinephpconf="$(grep "." /usr/local/etc/php-fpm.conf | tail -1)"
83
if [[ $lastlinephpconf == *"php_flag[display_errors]"* ]]; then
84
- sed '$' /usr/local/etc/php-fpm.conf
+ sed -i '$ d' /usr/local/etc/php-fpm.conf
85
fi
86
87
# Display PHP error's or not
0 commit comments