Status as of 2018-02-10: Now with PHP 7.1 and improvements to Command Line handling
Status as of 2017-11-24: The app is complete. Next step is to ask ClearOS community to test extensively.
yum --enablerepo=clearos-contribs-testing install app-php-engines
And you will get:
- Permits to pick PHP version for various websites, including in the command line version.
We plan add a way to override settings via the GUI but for now, you need to edit some configuration files.
Create a .user.ini and put where in the directory where your Tiki is
memory_limit = 256M upload_max_filesize = 64M zlib.output_compression = 1
For some php.ini variables (ex.: post_max_size), you cannot override these settings in .user.ini, so these must be set in the PHP Engine's php.ini files
If the values don't pick up, just reboot your server.
Since each directory can have a different version of PHP, it uses the one from the current working directory.
* * * * * cd /var/www/virtual/test.example.org/html/ && php test.php >> /tmp/test.log
In some cases, PHP 5.4 is still used for the command line interface. Solution has been proposed.Solved