I was looking at this post which is where I got the idea to use screens to execute my php scripts on the server: Running a PHP script completely on server side
I was successfully able to execute a php script using:
screen
php ./file.php
However, this did not work for me:
screen ./file.php
And it was that last way of doing it that was recommended in that post I linked.
All it says is: Cannot exec './file.php': Permission Denied
sudo screen ./file.php did not work either.
sudounless you really need to (which you don't since it worked withoutsudoin the two step approach at the start of the question).