- Disable now by default php_info(),
- Now use PHP 8.2.36.
This commit is contained in:
1 parent
1ad3205db3
commit
2fc03157b9
3 files changed
+15
-4
No files matched your search
+3
-2
@@ -40,8 +40,9 @@ do
|
||||
sed -i -e "s%/var/www/html%${APACHE_DOC_ROOT}%" ${file} \n\
|
||||
done \n\
|
||||
\n\
|
||||
[[ "${PHP_MEMORY_LIMIT}" == "" ]] && PHP_MEMORY_LIMIT="512M" \n\
|
||||
[[ "${PHP_UPLOAD_LIMIT}" == "" ]] && PHP_UPLOAD_LIMIT="32M" \n\
|
||||
[[ "${PHP_MEMORY_LIMIT}" == "" ]] && PHP_MEMORY_LIMIT="512M" \n\
|
||||
[[ "${PHP_UPLOAD_LIMIT}" == "" ]] && PHP_UPLOAD_LIMIT="32M" \n\
|
||||
[[ "${PHP_DISABLED_FUNCTIONS}" == "" ]] && PHP_DISABLED_FUNCTIONS="php_info" \n\
|
||||
\n\
|
||||
sed -i -e "s/memory_limit = 128M/memory_limit = ${PHP_MEMORY_LIMIT}/" /etc/php.d/01_ressourcelimits.ini \n\
|
||||
sed -i -e "s/upload_max_filesize = 16M/upload_max_filesize = ${PHP_UPLOAD_LIMIT}/" /etc/php.d/01_fileuploads.ini \n\
|
||||
|
||||
Reference in new issue
Block a user