From b66aba64236df3ca7b67871a4bbd7be17adb10f8 Mon Sep 17 00:00:00 2001 From: Twilight Date: Tue, 11 Jun 2024 12:42:36 +0800 Subject: [PATCH] update --- entrypoint.sh | 2 -- php.ini | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d8b6226..7d94a7f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,5 @@ #!/bin/sh -# setting php.ini -sed -i 's/expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini # service crond start exec apache2-foreground \ No newline at end of file diff --git a/php.ini b/php.ini index 10d9441..c0c7fec 100644 --- a/php.ini +++ b/php.ini @@ -376,7 +376,7 @@ zend.exception_ignore_args = On ; threat in any way, but it makes it possible to determine whether you use PHP ; on your server or not. ; http://php.net/expose-php -expose_php = On +expose_php = Off ;;;;;;;;;;;;;;;;;;; ; Resource Limits ;