How to Remove PHP 7.2 Version

SYSTEM INFORMATION
OS type and version Rocky Linux 8.6
Webmin version 1.999
Virtualmin version 7.1
Related packages SUGGESTED

I have two different PHP versions installed 7.2 and 5.6 and I set the default to 5.6 but my cron job runs on 7.2 and getting errors because the main server show 7.2, I want to run the cron job on php5.6.

Commend: php -v
Output: PHP 7.2.24 (cli) (built: Oct 22 2019 08:28:36) ( NTS )

I want to remove php7.2 from my server OR way to set PHP for full server php5.6, please help.

Thank You

try the command /usr/bin/php56 -v
if that doesn’t work check the bin folder for the sym link to the version 5 version then use that in the cron if you know what I mean.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.