Compare commits
3 Commits
69c07f9e87
...
3b0128f35d
Author | SHA1 | Date | |
---|---|---|---|
|
3b0128f35d | ||
|
86a905f91e | ||
3abf993607 |
@ -46,6 +46,13 @@ if [ -x /usr/bin/memcached -a "${MEMCACHED_START}" == "TRUE" ]; then
|
||||
/usr/bin/memcached -d -P /run/memcached/memcached.pid -u memcached
|
||||
fi
|
||||
|
||||
# If we are local, then disable the opcache
|
||||
if [ "${ENV}" != "production" -a ! -e ${PHP_DIR}/pprepend.php ]; then
|
||||
echo "* Automatically disabling opcache as environment is not production [${ENV}]"
|
||||
echo "<?php ini_set('opcache.enable',false);" > ${PHP_DIR}/prepend.php
|
||||
sed -i -e s"#auto_prepend_file =#auto_prepend_file=${PHP_DIR}/prepend.php#" /usr/local/etc/php/php.ini
|
||||
fi
|
||||
|
||||
# Laravel Specific
|
||||
if [ -r artisan -a -e ${php}/.env ]; then
|
||||
echo "* Laravel Setup..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user