Semi-inexperienced webmaster here running into a new problem. Recently, a client’s website started displaying the following error:
Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 5.6.0”.
Its a WordPress site hosted using NameCheap, with cPanel admin tools. All of the WordPress stuff updates automatically but I can’t say the same for the server itself.
Any ideas on how to fix this? Is it as simple as updating PHP on the server? Thanks!
-Lambus
Advertisement
Answer
I had faced this problem with Namecheap, Basically, your terminal on the server is using a lower PHP version than the 5.6. You can’t change the terminal PHP version.
Solution
You need to ask the Namecheap support team to upgrade it.