Skip to content

Commit c9666b8

Browse files
committed
Updated to PHP 8.2
1 parent 8b5d5c0 commit c9666b8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker-entrypoint.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,18 @@ if [[ ${DEBUG} == "TRUE" && -d /debug ]]; then cp /etc/apache2/conf.d/ssl.conf /
8888
# | -- PHP.INI -- | #
8989
# + ------------- + #
9090

91-
echo '| Updating Configuration: PHP (/etc/php81/php.ini) |'
91+
echo '| Updating Configuration: PHP (/etc/php82/php.ini) |'
9292

93-
if [[ ${DEBUG} == "TRUE" && -d /debug ]]; then cp /etc/php81/php.ini /debug/php.BEFORE.ini;fi
93+
if [[ ${DEBUG} == "TRUE" && -d /debug ]]; then cp /etc/php82/php.ini /debug/php.BEFORE.ini;fi
9494

9595
# ALTER: Modify php memory limit and timezone
96-
sed -i "s/memory_limit = .*/memory_limit = ${PHP_MEMORY_LIMIT}/" /etc/php81/php.ini
97-
sed -i "s/upload_max_filesize = .*/upload_max_filesize = ${UPLOAD_MAX_FILESIZE}/" /etc/php81/php.ini
98-
sed -i "s#^;date.timezone =\$#date.timezone = \"${TZ}\"#" /etc/php81/php.ini
96+
sed -i "s/memory_limit = .*/memory_limit = ${PHP_MEMORY_LIMIT}/" /etc/php82/php.ini
97+
sed -i "s/upload_max_filesize = .*/upload_max_filesize = ${UPLOAD_MAX_FILESIZE}/" /etc/php82/php.ini
98+
sed -i "s#^;date.timezone =\$#date.timezone = \"${TZ}\"#" /etc/php82/php.ini
9999

100-
echo "is_llc_docker = true" >> /etc/php81/php.ini
100+
echo "is_llc_docker = true" >> /etc/php82/php.ini
101101

102-
if [[ ${DEBUG} == "TRUE" && -d /debug ]]; then cp /etc/php81/php.ini /debug/php.AFTER.ini;fi
102+
if [[ ${DEBUG} == "TRUE" && -d /debug ]]; then cp /etc/php82/php.ini /debug/php.AFTER.ini;fi
103103

104104
# + ---------- + #
105105
# | -- MISC -- | #

0 commit comments

Comments
 (0)