php path EasyApache4

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
sachin
Posts: 0
Joined: Thu Mar 31, 2016 8:33 am

php path EasyApache4

Post 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.



felix

Re: php path EasyApache4

Post 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



sachin
Posts: 0
Joined: Thu Mar 31, 2016 8:33 am

Re: php path EasyApache4

Post by sachin »

Thanks, it did work in my case.



Post Reply