Page 1 of 1

php path EasyApache4

Posted: Wed Oct 26, 2016 6:42 am
by sachin
Hello All,

My new cPanel server has EasyApache4 enabled one. Now I would like to know what should be the php binary path we can use for running php scripts as cron?

I know On EasyApache4 there are multiple php versions available so little confused. Please help.

Re: php path EasyApache4

Posted: Fri Oct 28, 2016 11:14 am
by felix
I assume that you haven't changed the php version from the cPanel. In such cases the php version will be inherit mode. Which means its using the default php version in the server. Such cases we can use the php path as /usr/local/bin/php

Re: php path EasyApache4

Posted: Wed Nov 02, 2016 8:13 am
by sachin
Thanks, it did work in my case.