Path to PHP

Web hosting discussion, programming, and shared and dedicated servers.
2 posts Page 1 of 1
by Dar » Mon Mar 19, 2012 7:15 am
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.
by kgc » Tue Mar 20, 2012 2:29 pm
I think you are looking for /opt/php53/bin/php
Kelsey Cummings
System Architect, Sonic.net, Inc.
2 posts Page 1 of 1

Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: No registered users and 20 guests