Resolve “php: command not found” in Plesk

Published on : March 15, 2012

Author:

Category: PHP

Tag: Resolve cronjob problem


Yesterday i tried to setup a cron job in one of our client’s plesk server but I encountered this problem “-: php: command not found”.

Finally got a solution which is as follows:

To resolve this error:

  • Log into Plesk
  • Click Subscriptions
  • Click domain.com
  • Click Control Panel
  • Click Websites and Domains
  • Click Web Hosting Settings
  • Under Access to the server over SSH select /bin/bash
  • Click OK to save your changes

 
Hope it would solve this issue, if anyone has a different solution i would
love to hear it, thanks guys 🙂 !


Leave a Reply

Your email address will not be published. Required fields are marked *