disable php 5.4

Good Morning.

I work with Laravel (Framework), it needs php 7.2 upper, i have configured in virtualmin php 7.2.24 but in shell work php 5.4.16 who i disable or uninstall php 5.?

Thanks

Status: 
Active

Comments

Howdy -- thanks for contacting us!

It's unfortunately not possible to disable PHP 5.4 on CentOS... though you'd still have a similar problem even if it were.

The issue is that the app is using "/usr/bin/php" to execute PHP commands.

You'd need to configure in instead to use PHP 7.2, which is normally at a location like "/opt/rh/rh-php72/root/usr/bin/php".