Solved: Composer detected issues in your platform

Andrei Iordache

Andrei Iordache

WordPress Developer

šŸš€ I Help People Get Found Online | WordPress Development, Core Web Vitals, Security&Maintenance

Your Composer dependencies require a PHP version

WordPress site is down? Let’s find how to solve this issue.

If you got the following message: Your Composer dependencies require a PHP version

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.0". You are running 7.0.33. Your Composer dependencies require the following PHP extensions to be installed: bcmath

or a similar message to the one above:

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.0". You are running 5.6.40.

From this message we understand that your PHP version is not corresponding with the minimum requirements of your actual plugin version. So, you need to upgrade your PHP version from your cPanel. The 7.2.0 is not the newest version of PHP. The last PHP version (PHP 8) were launched few days ago, on 26th November, 2020.


WordPress Maintenance Services


 

Is PHP 7.0 still supported?

No. PHP 7.0 is not supported anymore. In fact, if your cPanel have one of these old PHP versions (PHP 5.6, 7.0, 7.1, and 7.2), you should update them immediately. These versions are marked as “End of life”, meaning that these versions are no longer security supported and could be exposed to unpatched security vulnerabilities.

You can find on Google a lot of resources regarding the old versions of the PHP. Just type “PHP 7.0.33 vulnerabilities” or “PHP 7.0.33 exploit db” and you will find a lot of answers.

Golden tip: If you have the opportunity to upgrade to PHP 8, don’t do it until February or March, 2021. You should wait for a stable version of the WordPress CMS, theme and plugins.


WordPress Website Transfer


What is PHP 8.0?

According to php.net, PHP 8.0 is a major update of the PHP language.
It contains many new features and optimizations including named arguments, union types, attributes, constructor property promotion, match expression, nullsafe operator, JIT, and improvements in the type system, error handling, and consistency.

In order to solve this, do the following steps:

1. Do a backup of your website. Seriously!
2. Go to cPanel -> Select PHP Version -> Current PHP version ( change to PHP 7.4Ā ).
3. Clean your browser’s cache and try to access it.

In 2021, many hosting services already provide PHP 8.0.0. As I told you, I prefer a stable version, so the PHP 7.4 seems to be the perfect candidate this year. Of course, like any other enthusiast, I tested the PHP 8.0.0 on a few WordPress development projects, and I haven’t any problem resulted from the tests. But I recommend you to wait another few months before updating to the last PHP version, because everything will be stable in the short future.

If you have troubles, contact me.

Let me know if it works.

All the best!

Previous Post
Law Firm Blog: Why to include a Blog section
Next Post
8 Must-Have WordPress Plugins and Features in 2021
Lusi StudiosLusi Studios
15:32 22 Jun 22
Andrei did an amazing job! He helped in a very rushed time and he excelled at everything. Thanks again!
I am grateful and I would to thank Websites Seller for their support in site recovery and site transfer. Websites Seller just saved my business. Thank you!
Wouter GhysensWouter Ghysens
11:52 10 Sep 21
Looking for a Wordpress transfer from site A to site B, I found back Andrei from Wesites Seller on Google.He was very proactive in his approach, came with hundreds of ideas and lifetime experiences from other migrations. He knows the wordpress, the hosting and php database as the back of his pocket.And we worked out this migration very smooth. Together we solved it, and myself and my business are very pleased with his approach.100% recommendation & kudo's from out of Belgium!
Ioachim CiobanuIoachim Ciobanu
18:39 14 Jul 21
Websites Seller built my resume site. Deliverables were quickly completed, and I was asked for my feedback at each stage of development. All feedback I gave was implemented in a short time.Another great thing is that he comes with smart solutions, regarding stuff which I didn't initially think of (site security, Google site speed optimization and so on). Basically, he was great, staying in touch, keeping me updated and paid attention to what was most important for my site.Overall, I am very happy with the work done. I highly recommend this developer!
K CollinsK Collins
09:11 19 May 21
I needed help with website speed - to improve my core web vitals - without compromising the usability of my site. Andrei was extremely responsive, proactive and fast. And more importantly, he increased by website speed. Highly recommend him, and I will be using him going forward on all my projects.
ā€¹
ā€ŗ

Services

WordPress Website Maintenance Services

WordPress Maintenance Services

WordPress website maintenance service that provides cloud backups, emergency support, weekly website updates, speed and many more.

sally

WordPress Migration Service

Safely transfer your WordPress website to a new location for $75. … Migrate your website to its new host.

lawyer-office

Lawyer Web Design

We specializes in website design, Internet marketing and SEO for lawyers and attorneys throughout the Europe and US.