PHP script works in browser but not Putty

Advertisement

pdmp_webmaster
Joined:
Posts:
2

PHP script works in browser but not Putty

Has anyone experienced this before? I tried posting this topic previously but it suggested if I leave links out of the post it'll post without human review. When I run "php -v" in Putty it says v4.4.9 while my hosting server I believe is 5.2, and I'm wondering if that has something to do with it. I want to run the script through Putty so I can set up a cron job. I've setup a cron job before for a different script so I believe the error does not lie there.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
33,710
Location:
Prague, Czechia

Re: PHP script works in browser but not Putty

This is support forum for WinSCP, not for PuTTY nor php.

Reply with quote

Advertisement

You can post new topics in this forum