Submitted by alvarogallo on Sun, 12/29/2019 - 07:09 Pro Licensee
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
Files:
Comments
Submitted by andreychek on Sun, 12/29/2019 - 08:41 Comment #1
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".