Page 1 of 1

Path to PHP

Posted: Mon Mar 19, 2012 7:15 am
by Dar
I'm trying to set up a cron job and I need the path to php.

Using /usr/bin/php I get a php error that makes me wonder if it's running a different version of php. (This is for Magento).

Because I'm using 5.3 (https://wiki.sonic.net/wiki/Php5) do I need a different path to php?

I've searched and guessed and tried a bunch of things, but get only "No such file or directory" errors.

Thanks so much for all your help.

Re: Path to PHP

Posted: Tue Mar 20, 2012 2:29 pm
by kgc
I think you are looking for /opt/php53/bin/php