r/PHPhelp • u/pascalstandaert • Aug 24 '25
need help "updating" a PHP script ?
I recently got this message from my web hoster after a website crash :
After half a day of searching, I discovered that your download script needs shell_exec rights. During the last update of cpanel, those rights were disabled for security for php5.6 (which went end of support 6 years ago). The script does not work on newer php versions. php5.6 is currently still on the server, but if I refresh the server within a few years (or faster if due to unforeseen circumstances) I may not be able to install php5.6 anymore and the script will definitely no longer work.
who can help me "update" this download script to work with current PHP versions ?
I have a zip file with the script(s), where can I upload it for someone to take a look at ?
please let me know ...
View all comments
Show parent comment
1
u/pascalstandaert Aug 24 '25
ah, thanks for the tip ...
I first wanted to find out from the experts (you guys) if it was possible at all to "update the script anyway ...
again, I'm looking for a way to upload it, so you guys can see it and tell me "how bad - how old - how hopeless or not" it is ...