As you state this is an issue with php 5.2.x this doesn't exist in php7. php5 is not longer supported by php (see https://www.php.net/supported-versions.php) and we cannot maintain versions which are no longer supported.
I have updated the minimal requirements to version 7 but it will work so I included a warning message that an insecure php version is used.
This vulnerability applies to php5.2. X
After the installation is successful, go to the management background

Then upload shell.php, It will be changed to shell.php.txt
Then upload shell.php again
Shell.php has not been changed to shell.php.txt
then view shell.php
The text was updated successfully, but these errors were encountered: