Upgrade WordPress To PHP 7+ | How To Do It Safely ⛑️

Поделиться
HTML-код
  • Опубликовано: 24 авг 2024
  • If you want to upgrade WordPress to PHP 7, you're in the right place. Although the process itself is easy, you can stumble upon some issues here in there if you don't follow the exact steps. I'll teach you how to make the switch and upgrade WordPress to PHP 7 the right way.
    PHP 7 has been around for a while now, yet adoption rates are nowhere near where they should be. This new version offers a marked increase in performance, and most reputable web hosts will give you the option to upgrade WordPress to PHP 7. If yours doesn’t, then it’s probably time to choose a new WordPress host.
    Get professional WordPress hosting with discount: bit.ly/WPHostin...
    Best Hosting for WordPress: • Best Hosting For WordP...
    Website → themeisle.com
    WordPress Articles → themeisle.com/...
    Facebook → / themeisle
    ThemeIsle is the go-to source for the High-Quality WordPress Themes (both free & premium), and plugins every website owner needs. We're passioned about all things WordPress, but we're not afraid to tackle other web related subjects. Our goal is to give those websites easy-to-use themes and designs that can be managed by everyone.

Комментарии • 90

  • @ThemeIsle
    @ThemeIsle  6 лет назад +2

    Best Hosting for WordPress: ruclips.net/video/cjoQS0u2YIg/видео.html

  • @Artmeartist
    @Artmeartist 4 года назад +1

    Unbelievable. Works 100% and upgraded to PHP 7.4

  • @tulipegg
    @tulipegg Год назад

    Wonderful! It really helped upgradng my site!!

  • @Artmeartist
    @Artmeartist 4 года назад +1

    Before upgrading to the later version of PHP, you must paste that text into the .htaccess folder --> AddType application/x-httpd-php-latest .php

  • @avioleaster8970
    @avioleaster8970 5 лет назад +3

    *PLEASE READ:* Before you do ANYTHING make sure you update *ALL YOUR PLUGINS!* This will make the process *WAY* smoother on you!

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      I agree, thanks for sharing this.

  • @gustavhagglund906
    @gustavhagglund906 5 лет назад +3

    I just get this. Fatal error: Cannot use SimpleCalendar\Abstracts as Object because 'Object' is a special class name in /app/public/wp-content/plugins/google-calendar-events/includes/objects.php on line 9
    Please help me..

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      Interesting. Try getting help from the WordPress community: wordpress.org/support/

  • @paul_henderson
    @paul_henderson 4 года назад +1

    I can't pick the php version, probably due to beta as explained on the forum. There's only 5.6 php. Shame

    • @RobertPeterK
      @RobertPeterK 4 года назад +2

      The best way to safely update your PHP version is to get help from your server admin.

    • @paul_henderson
      @paul_henderson 4 года назад

      Thx a lot!

  • @kiwihali
    @kiwihali 5 лет назад +2

    Thanks for this! Took me awhile to get it all going, but got there in the end. For some reason the theme files didn't restore, and I wasn't expecting that the credentials would change.

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      Neither did I expect that. It seems that the PHP upgrade is difficult.

    • @kiwihali
      @kiwihali 5 лет назад +2

      @@RobertPeterK Yeah I haven't actually done the upgrade yet. Just tested out the version with Local to make sure the site runs. Will look to do the upgrade this week. Fingers crossed!

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      @@kiwihali Ok, cool. Thanks

  • @boomie2683
    @boomie2683 3 года назад

    It wont even let me into WordPress it just brings me to a white page saying it needs a new PHP version at least 7.2 and when I look at bluehost it says I already have 7.3 idk what to do!!!

  • @huntergeorge3909
    @huntergeorge3909 5 лет назад +3

    this doesn't appear to be working correctly any longer.. i'm following all of the steps you mentioned in the video, and when the backup from my live site is restoring, it gives me a "Session Expired" error message and then takes me to a 404 page of my main site's URL, not the staging site.. I can now no longer get to the staging site as well.
    Any thoughts or others who are experiencing the same problem?

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      I have no idea what can cause the problem, sorry.
      Get the old PHP back and try restoring the backup then.

    • @huntergeorge3909
      @huntergeorge3909 5 лет назад +2

      Robert Peter your response doesn’t exactly make sense to my problem as i’m using this staging software to test new PHP versions.. i’m not looking to restore back to the current PHP version.. thanks anyways >.>

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      @@huntergeorge3909sorry for the misunderstanding

  • @stgabrielspimlico
    @stgabrielspimlico 5 лет назад +3

    Same as comments below, after uploading the backup, when I log in to the staging site it routes me to the live site.

    • @RobertPeterK
      @RobertPeterK 5 лет назад

      I will tray it out too see what's happening. Thanks.

  • @MarkLani
    @MarkLani 5 лет назад +3

    Very helpful information, thank you!!!

  • @DrCJones
    @DrCJones 4 года назад +1

    Doesn't actually show you how to upgrade. Shows how to do it in Cpanel near the end of the vid, but it doesn't even have the 7.4 option.

    • @RobertPeterK
      @RobertPeterK 4 года назад +2

      I think the 7.4 could be done the same way

    • @DrCJones
      @DrCJones 4 года назад +1

      True, if your host provides it. I've been looking for a way to do it manually since it doesn't use htaccess anymore.

  • @wowk7140
    @wowk7140 4 года назад +1

    Updraft for website backup

    • @RobertPeterK
      @RobertPeterK 4 года назад +1

      Updraft is great. I use All in one wp migration too.

  • @kittytalk007
    @kittytalk007 5 лет назад +7

    I wasn’t able to restore backup on local host without needing to buy $30 migrating ad on.

  • @LydiaProschinger
    @LydiaProschinger 4 года назад +2

    Flywheel wants Credit Card info to verify the account when you're not living in the US. Just in case you didn't know. So, for me this didn't work.

    • @RobertPeterK
      @RobertPeterK 4 года назад +1

      I think you can use another way then

    • @reutlevy8834
      @reutlevy8834 4 года назад

      @@RobertPeterK what way I would love to know

  • @ALESSTIG
    @ALESSTIG 4 года назад +2

    hi I am using the latest version of Wordpress locally, I would like to update php to version 7.4.1 (I have windows 10 pro 64bit), do I have to follow this guide without losing data? also the 7.4.1 (latest release of xampp) okay?

    • @RobertPeterK
      @RobertPeterK 4 года назад +1

      Well, because you are using it locally you have nothing to loose.
      Maybe you should back it up first, just for the peace of your mind.
      The fastest way I use in such situations is the all in one wp migration plugin.

  • @GarySpatzScam
    @GarySpatzScam 4 года назад +1

    is php coding different from version to version?

    • @RobertPeterK
      @RobertPeterK 4 года назад +1

      The coding itself no, just the way it works, I guess

  • @ShowMeTheMoneyGuy
    @ShowMeTheMoneyGuy 4 года назад +2

    I only have a two page blog, so this probably isn't worth it for me.

    • @RobertPeterK
      @RobertPeterK 4 года назад +1

      It's not just about how much content you have but how secure your entire website is.

  • @gobrad
    @gobrad 5 лет назад +1

    This worked very well but I thought I’d have an independent site “test php 7” site as a local site?. When I uploaded to the New installed updraftplus it brought me to my site... not the local one?.? I thought the purpose of this was to test my site locally without making any changes to my original site? I disconnected internet also to see if the site was active as it should if it is installed locally but it says no internet ....?.?

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      It seems that this PHP upgrade creates confusion and complicates things

  • @adempenver9416
    @adempenver9416 5 лет назад +4

    When trying to view my staging site I kept getting url redirects to my original site so I couldn't view it

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      Hey, Adem. I have no idea why, sorry.

    • @fernandapassoswalker2140
      @fernandapassoswalker2140 5 лет назад +1

      the same happened to me when I added the /wp-admin at the end. When I tried to access it without wp-amin the page was blank

  • @christynpienaar
    @christynpienaar 5 лет назад +2

    adoption rates arent where they should be because it keeps breaking everything for no reason and modules that are installed come up as not installed for wordpress.. the process of updates needs to be made user friendly, its just way to crap right now.

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      Yeah, you are right. It might be easier...

    • @christynpienaar
      @christynpienaar 5 лет назад +1

      Further please elaborate on ea-php7.2 and alt-php7.2 and further to that per environment as my coanel hates ea version of php and only works with alt, single threaded vs multi threaded php and all these factors arent explained anywhere

  • @shiraavila1016
    @shiraavila1016 4 года назад +1

    hi. Thank you for the tutorial, much appreciated.. BUT for me, i keep getting an error saying "this file does not have an app associated with it for performing this action. '( it's for the DATABASE download.) what can i do to correct this to make things run smoothly. thanks for your help.

    • @RobertPeterK
      @RobertPeterK 4 года назад +1

      If you follow the tutorial step by step, everything should work just fine.

  • @gustavhagglund906
    @gustavhagglund906 5 лет назад +2

    I solved the last problem with the calendar plugin. It was just a simple plugin update that was needed. Now the site is working but i get "Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'addmetawebcapablelinks' not found or invalid function name in /app/public/wp-includes/class-wp-hook.php on line 286". And I can't reach the admin page for some reason all I get is a blocked warning. Can somebody please help?

    • @RobertPeterK
      @RobertPeterK 5 лет назад

      Sorry to see you having those problems. I think you should try contacting a WordPress developer. You can find affordable guys on Upwork, for example.

  • @windowtintingfilm9430
    @windowtintingfilm9430 5 лет назад +2

    Once I successfully uploaded my backup files to testing-php-7.local , it's automatically redirect to my live site! So I can't check local site

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      Interesting. Same result after testing it multiple times?

    • @StelaTasheva
      @StelaTasheva 4 года назад

      it is the address saved in the databese. So it is pointing to it.

  • @supportmc-salesllc9828
    @supportmc-salesllc9828 5 лет назад +2

    If I am looking to automatically backup my site using Updraft, which cloud service do you recommend?

    • @RobertPeterK
      @RobertPeterK 5 лет назад +2

      You should go find a popular one, like Google Drive, for example?

  • @Peter70702
    @Peter70702 5 лет назад +3

    Exact same result as George Hunter. Session expired and back to my live site. Looks like this method is dead.

    • @RobertPeterK
      @RobertPeterK 5 лет назад +2

      Really? Interesting. Will take a look and see what I can do.

    • @m.carpenter
      @m.carpenter 5 лет назад

      @@RobertPeterK Have you figured anything out yet? I'm having the same problem. It looks like Updraft is wanting me to buy their "migration" tool for $30 to do it correctly

  • @hitbyligtning9661
    @hitbyligtning9661 3 года назад

    my original test site is on xampp (php5.6 - port 3307)
    i have a 2nd test site setup on xampp (php7.2 - port 3308)
    I'm unable to upgrade from one site to the other so Ive tried this updraft/flywheel technique hoping I can transition between the two php versions.
    it upgrades from the original test site on xampp (php5.6) to "xxx.local" as stated , I reinstall updraft as instructed, import the 4 backup files, but when i try to log in it redirects me back to my original xampp (php5.6) site and not "xxxx.local".
    Seems like the only way to get around this problem is to "unzip" the "xampp (php5.6) files" and modify the URLS in them, then rezip the files & upload them into "xxx.local" via updraft. Im assuming the same thing is going to happen except it will redirect to xampp (php7.2 - port 3308) and the upgrade from php5.6 to phph7 will be successful.

  • @fhikahhealth7092
    @fhikahhealth7092 5 лет назад +2

    since i have added php 7 through your suggestion my security level which was secure is not not trusted. Any suggestions why this would be? and how to fix the problem

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      PHP 7 is safer, that is for sure. You mean you get notification from the browser that the site is not secure?

    • @fhikahhealth7092
      @fhikahhealth7092 5 лет назад +1

      @@RobertPeterK Yes. I contacted my web host and had them correct the issue.

  • @gobrad
    @gobrad 5 лет назад +1

    Would it be better I just backup manually?

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      That is a good option, for sure.

  • @gobrad
    @gobrad 5 лет назад +1

    I followed this step by step and although updraftplus backs up I keep getting “only database backed up”

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      It seems that this PHP upgrade creates confusion and complicates things.

  • @milosveljkovic4720
    @milosveljkovic4720 5 лет назад +3

    When I upload my backup files to local staging site it redirects me to my live version of site/wp-admin and there it asks me to enter my login info not from the local site that I've created, but for active site login. I believe it has something to do with backup files I've downloaded/uploaded since "it's for backup not for migration". I've seen you get the same alert prompted when you upload your files as well. Any ideas how to overcome this?

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      Good question. I will check that out.

    • @milosveljkovic4720
      @milosveljkovic4720 5 лет назад +1

      @@RobertPeterK Sure thing. Followup question, for another site - I don't have "PHP Version Manager", but I've found MultiPHP Manager and selected the 7.x PHP version. Any idea on where can I find "manage extensions" for that site because there's no "MultiPHP INI Editor" in cPanel? (it's a subdomain btw)

    • @MatthewSmith-nt5xg
      @MatthewSmith-nt5xg 5 лет назад

      @@RobertPeterK I'm having the same issue. I followed every step and just end up getting redirected to my live version. Seems like it's more of a back-up versus migration problem (as everything in the DB and wp-admin will be the same as the backup). It would be great to find a solution to this.

    • @raymondbeaulieu3719
      @raymondbeaulieu3719 5 лет назад +1

      You have to use a plugin like "All in one wp migration" to migrate your site to another location. You can also use "Updraft migrator". But it's not free. The plugin used in this video is for backup. Not for migration.

  • @lahirutharaka
    @lahirutharaka 6 лет назад +2

    Great video

    • @ThemeIsle
      @ThemeIsle  6 лет назад +1

      Thanks for watching!

  • @noteprints
    @noteprints 6 лет назад +3

    What are the advantages of running PHP 7 vs PHP 5?

  • @conversationswithadrianne
    @conversationswithadrianne 3 года назад

    This video does not tell you how to upgrade to php 7.
    Wasted time.

  • @malibu_graphx
    @malibu_graphx 4 года назад +2

    💪👍

  • @0WeezyFsBaby0
    @0WeezyFsBaby0 5 лет назад +3

    Interesting accent

    • @RobertPeterK
      @RobertPeterK 5 лет назад +1

      Yeah, thanks. I am working on to improve my English every day

    • @0WeezyFsBaby0
      @0WeezyFsBaby0 5 лет назад +3

      Oh no, I hope that didn't come off as sarcastic. I like the accent ☺️