• Resolved Tanuj Singh

    (@tanuj-singh)


    I’ve heard that PHP 7 brings some awesome improvements and adjustments. So, my question is can I use PHP 7 with WP the latest WP version as of now i.e. 4.4.1? Will it cause any problems?

Viewing 5 replies - 1 through 5 (of 5 total)
  • WordPress 4.4+ is compatible with PHP7:

    WordPress and PHP7

    I recommend running a full database and site backup before you proceed since not all plugins may not be compatible. I run PHP7 on multiple site with a variety of plugins and have not experienced a single issue.

    I understand PHP7 uses PDO. Does WordPress work with PDO without a hitch? (Not including the plugins, I’d need to check those seperately). Or does MySQLli Or something need to be installed? The information in the above link doesn’t seem to have that information (or I’m looking at the wrong section ?? )

    Thanks for the help!

    Does WordPress work with PDO

    WordPress doesn’t support PDO right now.

    does MySQLli Or something need to be installed?

    You don’t need to install anything. PHP comes with PDO and MySQLi extensions. Unless you are really using an older PHP versions

    Ah, yeah, in there lies exactly my problem. My webhost currently has an older version of PHP installed (5.3.29) with an older version of MySQL (5.5.32-cll-lve). I’ve installed WP and used it for more than a year now on that installation….. So I’m looking to migrate to the new PHP7 and keeping WP as much as I can. Hence my questions ?? I’m planning to use WP purely for blog purposes, instead of the portfolio function it also has now and I want to run a seperate portfolio besides WP.

    I planned to run the seperate database driven portfolio with PHP7 PDO.

    Will this conflict with WP running with MySQLli or can these two projects run besides one another without a problem?

    I can upgrade my PHP installation to 5.4, 5.5, 5.6 and 7.0 on my site through my cpanel. So the question for me is: Should I upgrade to 5.6 (which I understand is also still being developed with new releases), or should I upgrade to PHP7? I originally thought I could upgrade to PHP7, but I want to make sure everything keeps running smoothly ??

    Thanks for the help!

    Can’t edit my answer above, so:
    Never mind, I figured it out. Two projects with each its own coding, so it really doesn’t matter. Each can use it’s own system to approach the database ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 7 With WordPress 4.4.1’ is closed to new replies.