1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Article

How to Update PHP for WordPress

WordPress and PHP

Pro Tip: In addition to making sure you have the latest PHP, make sure your data and files are protected too in the event of accidents, data loss or hackers with Website Backup & Restore. Ensure you have a daily backup of your site for easy restoration.

WordPress is built on the PHP coding language. While it is essential to keep your themes and plugins up to date, keeping your PHP version up-to-date is equally important. Running the latest PHP version will ensure that your website runs faster and will stay more secure.

Additional benefits

  1. Faster WordPress websites may rank higher in search results.
  2. Faster websites will help you retain site visitors.
  3. A secure website will cost less in the long run.
  4. A secure website will keep its reputation when protected from hackers.

WordPress is backward compatible, meaning that it will still run on older versions of PHP. But to take advantage of new features, it is advisable to update to the latest version offered in your hosting dashboard.

Before you update

Updating your PHP will not usually be a problem, but there is no guarantee that an issue might arise.

  1. Backup your website. Use one of the free backup plugins available through your WordPress dashboard.
  2. Update WordPress, themes and plugins to the latest versions
  3. Run the PHP compatibility checker plugin
  4. Fix any compatibility issues found by the checker

How to update your PHP version

  1. Login to your Hosting Dashboard.
    Hosting Tab
  2. Click Scripting Config.
    Login to Hosting dashboard, Scripting Config
  3. Click on Manage PHP Scripting
    Manage PHP scripting
  4. Click on Change PHP Versionbutton
    change PHP version link
  5. Click on the Set Version button
    Click on the set version button
  6. Select the latest version of PHP available
    Select version of PHP
  7. Click on the Set Version button again
    Click on set version button again
  8. A popup message will alert you to the success
yieldmanager

Thanks for visiting! Since you landed on this page of our website, we wanted to let you know you visited one of our paid endorsers while researching your purchase. close