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
0
u/pascalstandaert Aug 24 '25
I asked the guy from the hosting companies to send me the "problem script" and he told me "it's in this directory" ... so I downloaded it ... am I missing something ?
the website itself is in Drupal ...
so it "shells" from drupal into this folder to execute the script and then offering the encrypted MP3's for download ...
... I think ...