Is it possible to use an account's WHM assigned ea-php version in the command line, instead of it being hard coded? Or, maybe to use the System PHP version? (Account Cpanel - PHP Selector does not allow a choice.)
For example, by emulating this:
with some 'php' that uses the account's assigned version.
What I want to accomplish is having all crons jobs change PHP version as the account's version is changed.
On this Cpanel reference page, I found the php.conf file, containing:
David
For example, by emulating this:
Code:
/usr/local/bin/ea-php72 /home/account/path to/file.php
What I want to accomplish is having all crons jobs change PHP version as the account's version is changed.
On this Cpanel reference page, I found the php.conf file, containing:
Code:
# tail -20 /etc/cpanel/ea4/php.conf
---
default: ea-php72
ea-php72: suphp
ea-php73: suphp
Last edited: