• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

OrganicWeb

Mailchimp Training & Consulting

  • Home
  • Services
    • Mailchimp Training
    • Mailchimp Consulting
  • Free Tools
    • Mailchimp Tutorials on YouTube
    • Subject Line Generator
    • Marketing Ideas Generator
    • Map Maker for Email
    • WhatsApp Click to Chat Generator
    • Avoid Email Going to Spam
    • Email Link Generator
    • Is Mailchimp Down?
    • Marketing Facts and Stats
  • Content
    • Blog
    • Videos
  • Contact & About
    • Contact
    • About

Does WordPress work with PHP 7?

A major part of WordPress code is written in PHP. PHP version 7 was released in December 2015. This is such a significant release that PHP version 6 was skipped entirely. For non-technical folks (as well as those that are very technical) the major talking-point is that PHP 7 has been tested to run twice as fast as previous versions. As WordPress runs a significant amount of PHP code, this means that WordPress websites should load quicker with PHP 7.

The performance gains realized from PHP 7 are huge! They vary between 25% and 70% on real-world apps, and all of that just from upgrading PHP, without having to change a single line of code! Zend

I therefore decided to upgrade my PHP versions on my WordPress websites.

How to upgrade your WordPress PHP version

Updating to a newer version of PHP is incredibly simple if your host provides cPanel. Just follow the instructions below.

  1. Login to your host cPanel.
  2. Click the PHP Configuration button in the Software/Services section.
  3. Select the version of PHP you want to use from the options.
  4. Click the Update button to save your PHP configuration.

Depending on the version of cPanel your host provides, and how they have configured cPanel, the instructions may vary slightly. Also, some hosts don’t allow for changing the PHP version.

How I testing WordPress updated to PHP

I read alot of articles about the compatability of PHP 7 and WordPress and most people haven’t had issues. I was cautious however as WordPress software, plugins and themes use PHP extensively and therefore a PHP version change is significant.

I decided to change update to PHP version 7 for just one of my WordPress websites to ensure that all went o.k. I use StudioPress Genesis themes on all my websites and tend to use the similar plugins on all my websites (e.g. Gravity Forms with the Stripe and Mailchimp addons, Jetpack, Mailgun, WP Super Cache, Yoast SEO etc.). I also use CloudFlare to optimize all my websites. A test on one website therefore will be a good general test of how my other websites should behave.

So, does WordPress work with PHP 7?

The first WordPress website I upgraded to PHP 7 had no problems that I noticed. I then decided to upgrade numerous of my other websites and I came across an issue on one of the Sites; the website with the Aspire Pro theme by StudioPress wasn’t loading the theme style.css file. I changed the PHP version back to PHP 5.6.20 and all appeared fine again (i.e. no display problems).

Since that issue I’ve decided to ‘downgrade’ all my PHP versions back to PHP 5.6.20. This is probably an over-reaction to an issue on one website however I’d rather be sure that my websites look good and function as they should. I use powerful virtual servers with cache preload so the speed advantages of PHP 7 will be negligible and most likely unnoticeable to my website visitors. I’ll try PHP 7 again in the near future.

Found this useful? Please share:

Related

  • WooCommerce – exclude categories from showing
  • How to get Mailchimp Subscriber Popup working in WordPress
  • WordPress Site5 PHP Error

Filed Under: WordPress

Watch Gary in action

Gary frequently adds Mailchimp instructional videos to his YouTube channel. Subscribe to keep updated.

→  Subscribe   ←

How to add an editable attachment to a Mailchimp campaign.

How to add, and send, coupon codes in Mailchimp.

Reader Interactions

Comments

  1. Brohl says

    October 20, 2017 at 12:28 am

    Exactly what i was looking for especially since i’ using genesis themes. thx

    Reply
  2. Taz says

    April 27, 2019 at 8:28 am

    I am using the Genesis framework with Prose child theme. I updated my website from PHP 5.4 to 7.0 and found that my theme is not compatible. It breaks the website. In particular I see various error messages that mysql codes are no longer in use in PHP 7.0. My theme is no longer being developed/maintained by the author. Switching themes is a real pain and plays havoc with many css styles, etc.

    Did you or anyone have a solution for this?

    Thanks.

    Reply
    • Gary says

      April 27, 2019 at 3:46 pm

      Taz, unless you have extensive coding experience (and time) you’ll need to move to a new theme.

      Reply

Leave a Reply Cancel reply

You are here: Home / WordPress / Does WordPress work with PHP 7?

Primary Sidebar

Mailchimp write about my work

Read on Mailchimp.com

Learn from a Mailchimp Pro Partner

Signup to receive info about Gary's Mailchimp beginner and advanced classes.

Sign up

Gary on Australian National Radio

Changes are coming to the Australian Spam Act

Read Gary's article in SmartCompany

Meet Gary, Mailchimp Expert

Gary is a Mailchimp Expert and Partner. He delivers Mailchimp training and consulting services in Australia, New Zealand and Singapore. Gary presents at Mailchimp events and hosts the first, and only, Australian Mailchimp sponsored event. He is M.B.A. qualified from Henley Business School, U.K.

Contact Gary for your Mailchimp needs

Footer

Customer Rating

Mailchimp Pro Partners

Contact

Contact Gary for all your Mailchimp training, consulting and integration needs.

Contact Gary.

Copyright © 2022 · Sitemap · ABN: 40800872179 · Privacy Policy · Terms of Service