Compare commits
3 Commits
30ddb87a9e
...
c42a29454c
Author | SHA1 | Date | |
---|---|---|---|
|
c42a29454c | ||
3abf993607 | |||
aeb3c72c04 |
@ -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
|
/usr/bin/memcached -d -P /run/memcached/memcached.pid -u memcached
|
||||||
fi
|
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
|
# Laravel Specific
|
||||||
if [ -r artisan -a -e ${php}/.env ]; then
|
if [ -r artisan -a -e ${php}/.env ]; then
|
||||||
echo "* Laravel Setup..."
|
echo "* Laravel Setup..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user