Control Web Panel

WebPanel => Updates => Topic started by: adamjedgar on April 30, 2019, 09:37:46 PM

Title: why is cron for php 71 running when i have php73 installed?
Post by: adamjedgar on April 30, 2019, 09:37:46 PM
why is the following cron using php71 being automatically generated by CWP?

I have setup webserver to run php 7.3 fpm.

   0 2 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_notificate_user.php

Also, what does this cron actually do?
Title: Re: why is cron for php 71 running when i have php73 installed?
Post by: cu-olly on April 30, 2019, 11:14:36 PM
I've noticed this too. It's actually expected behaviour, since FPM and CLI are two completely different versions.

You also need to rebuild your "PHP Version Switcher" and/or "PHP Selector 2" if you have configured it.

Note that rebuilding any of the three PHP versions will wipe out any php.ini customizations, so if you've made changes back them up first.