Skip to content

Commit

Permalink
fix: remove X-Powered-By header
Browse files Browse the repository at this point in the history
fixes #2
  • Loading branch information
carlalexander committed Feb 8, 2022
1 parent 75e03ad commit afa43f4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/php-72/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ extension=redis.so
extension=zstd.so
zend_extension=opcache.so

; Disable the header "X-Powered-By" exposing the installed PHP version
expose_php=0

; This directive determines which super global arrays are registered when PHP
; starts up. G,P,C,E & S are abbreviations for the following respective super
; globals: GET, POST, COOKIE, ENV and SERVER.
Expand Down
3 changes: 3 additions & 0 deletions runtime/php-73/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ extension=redis.so
extension=zstd.so
zend_extension=opcache.so

; Disable the header "X-Powered-By" exposing the installed PHP version
expose_php=0

; This directive determines which super global arrays are registered when PHP
; starts up. G,P,C,E & S are abbreviations for the following respective super
; globals: GET, POST, COOKIE, ENV and SERVER.
Expand Down
3 changes: 3 additions & 0 deletions runtime/php-74/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ extension=redis.so
extension=zstd.so
zend_extension=opcache.so

; Disable the header "X-Powered-By" exposing the installed PHP version
expose_php=0

; This directive determines which super global arrays are registered when PHP
; starts up. G,P,C,E & S are abbreviations for the following respective super
; globals: GET, POST, COOKIE, ENV and SERVER.
Expand Down
3 changes: 3 additions & 0 deletions runtime/php-80/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ extension=redis.so
extension=zstd.so
zend_extension=opcache.so

; Disable the header "X-Powered-By" exposing the installed PHP version
expose_php=0

; This directive determines which super global arrays are registered when PHP
; starts up. G,P,C,E & S are abbreviations for the following respective super
; globals: GET, POST, COOKIE, ENV and SERVER.
Expand Down

0 comments on commit afa43f4

Please sign in to comment.