To through the console or cron run the script that requires ionCube, Zend Encoder, Memcache(d), Redis or other modules plugged into PHP settings, needed in the launch command:
Paths to PHP interpreters of all available versions:
/usr/local/php4/bin/php /usr/local/php52/bin/php /usr/local/php53/bin/php /usr/local/php54/bin/php /usr/local/php55/bin/php /usr/local/php56/bin/php /usr/local/php70/bin/php /usr/local/php71/bin/php /usr/local/php72/bin/php /usr/local/php73/bin/php /usr/local/php74/bin/php
The path to the php.ini site looks like this:
/home/account/.system/php/www.example.com.ini
On my way:
account
should be hosting account namewhere the script to run is located.www.example.com
there should be the name of the site / subdomain in the directory of which the script to run is located.The launch command itself looks like this:
/usr/local/php72/bin/php -c /home/account/.system/php/www.example.com.ini -f path/to/script.php
In a team:
/usr/local/php72/bin/php
- the path to the PHP interpreter of the required version.-c
- the key followed by the path to php.ini
desired site./home/account/.system/php/www.example.com.ini
- way to php.ini
desired site.-f
- a key followed by the path to the script being launched.path/to/script.php
- the path to the script to run.