Author Topic: why is cron for php 71 running when i have php73 installed?  (Read 4963 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
why is cron for php 71 running when i have php73 installed?
« 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?

Offline
*
Re: why is cron for php 71 running when i have php73 installed?
« Reply #1 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.