Server timeout occurs when php 7.13 or php 7.2 uses the getenv function

one line of code

echo getenv("HTTP_ACCEPT_LANGUAGE");

php5.6 version and php7.0 version are normal, please ask for help, is this part of the function discarded by the new version of php

Php
Mar.20,2021

runs echo getenv ("HTTP_ACCEPT_LANGUAGE" when the php version switches to php 7.13); if you are using a Nginx server, directly report cgi to stop working, and Apache directly report timeout


the same question.


I also encounter the same problem, and this function is used in PHP-FFMpeg. The php7.2.10, I use is also Internal Server Error.

Menu