Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Site Health Check for WordPress

32 views

Published on

Why and How to do a Site Health Check, by Jenny Wong - @miss_jwo from humanmade.com

Published in: Internet
  • Be the first to comment

  • Be the first to like this

Site Health Check for WordPress

  1. 1. Why & How to do a Site Health Check Jenny Wong Human Made .com @miss_jwo
  2. 2. Our Websites CreditPhoto by Davide Cantelli on Unsplash
  3. 3. @wppompey #WPPompey @miss_jwo 🏑🏒🏰πŸ₯πŸ—ΌπŸ•Œβ›©πŸ˜πŸ¦ 🏟🏒🏫🏯πŸͺ🏩🏒🏑🏠 πŸ¬πŸ˜πŸ˜πŸ›πŸ€πŸ‘
  4. 4. @wppompey #WPPompey @miss_jwo 🏑🏒🏰πŸ₯πŸ—ΌπŸ•Œβ›©πŸ˜πŸ¦ 🏟🏒🏫🏯πŸͺ🏩🏒🏑🏠 πŸ¬πŸ˜πŸ˜πŸ›πŸ€πŸ‘ Digital homes
  5. 5. @wppompey #WPPompey @miss_jwo What is your home made from?
  6. 6. @wppompey #WPPompey @miss_jwo What kind of home do you live in?
  7. 7. @wppompey #WPPompey @miss_jwo β€’ Flat - shared server - shared wiring, plumbing etc β€’ House - stand alone server - plumbing, wiring self contained β€’ Building managers - managed hosting β€’ Rentals - hosting companies - letting companies / landlords β€’ Owned - self hosting - have to do all the work yourself. β€’ House keeping - Maintenance
  8. 8. @wppompey #WPPompey @miss_jwo What is WordPress made from?
  9. 9. @wppompey #WPPompey @miss_jwo
  10. 10. @wppompey #WPPompey @miss_jwo PHP
  11. 11. @wppompey #WPPompey @miss_jwo Current supported versions of PHP are : 7.1, 7.2 & 7.3
  12. 12. Supported Versions http://php.net/supported-versions.php @miss_jwo #WCNordic
  13. 13. Supported Versions http://php.net/supported-versions.php @miss_jwo #WCNordic
  14. 14. Supported Versions http://php.net/supported-versions.php @miss_jwo #WCNordic πŸ™€
  15. 15. @wppompey #WPPompey @miss_jwo πŸ€” What PHP versions are people running WordPress on? @miss_jwo #WCNordic
  16. 16. @wppompey #WPPompey @miss_jwo What PHP versions are people running WordPress on? https://wordpress.org/about/stats/ PHP Version What PHP versions are people running WordPress on?
  17. 17. @wppompey #WPPompey @miss_jwo What PHP versions are people running WordPress on? https://wordpress.org/about/stats/ PHP Version What PHP versions are people running WordPress on?
  18. 18. CreditPhoto by Anthony DELANOIX on Unsplash History
  19. 19. @wppompey #WPPompey @miss_jwo 27TH MAY 2018
  20. 20. @wppompey #WPPompey @miss_jwo WordPress works on all the latest versions of PHP πŸ‘
  21. 21. @wppompey #WPPompey @miss_jwo
  22. 22. @wppompey #WPPompey @miss_jwo
  23. 23. @wppompey #WPPompey @miss_jwo PHP 5.2.4 Minimum PHP Version Requirement for WordPress
  24. 24. @wppompey #WPPompey @miss_jwo PHP 5.2 6 January 2011
  25. 25. @wppompey #WPPompey @miss_jwo What PHP versions are people running WordPress on? https://wordpress.org/about/stats/ PHP Version What PHP versions are people running WordPress on? πŸ™Œ
  26. 26. @wppompey #WPPompey @miss_jwo What PHP versions are people running WordPress on? https://wordpress.org/about/stats/ PHP Version What PHP versions are people running WordPress on? πŸ™Œ 5.45.2 5.6 7.0 5.5 5.4 5.3
  27. 27. @wppompey #WPPompey @miss_jwo Do you have a zombie PHP on your site? 🚫
  28. 28. Photo by Marvin Ronsdorf on Unsplash Value
  29. 29. @wppompey #WPPompey @miss_jwo What do you get from doing building maintenance?
  30. 30. @wppompey #WPPompey @miss_jwo What do you get from updating PHP?
  31. 31. @wppompey #WPPompey @miss_jwo https://wordpress.org/support/upgrade-php
  32. 32. @wppompey #WPPompey @miss_jwo PHP7+ Speed improvements
  33. 33. @wppompey #WPPompey @miss_jwo Speed improvements ➑ Less resources used ➑ Cheaper hosting ( Depending on your hosting provider)
  34. 34. @wppompey #WPPompey @miss_jwo Speed improvements ➑ Less resources used ➑ Cheaper hosting ( Depending on your hosting provider) Photo by Andy Brunner on Unsplash
  35. 35. @wppompey #WPPompey @miss_jwo PHP7.1+ More Secure
  36. 36. Photo by Gabriel Jimenez on Unsplash Team Effort
  37. 37. @wppompey #WPPompey @miss_jwo Hosting Providers
  38. 38. Largest hosting companies in the world
  39. 39. All the other hosting companies in the world
  40. 40. @wppompey #WPPompey @miss_jwo #hosting make.wordpress.org/hosting
  41. 41. @wppompey #WPPompey @miss_jwo Language Change
  42. 42. https://meta.trac.wordpress.org/ticket/802
  43. 43. https://meta.trac.wordpress.org/ticket/802
  44. 44. https://wordpress.org/about/requirements
  45. 45. @wppompey #WPPompey @miss_jwo PHP 7
  46. 46. @wppompey #WPPompey @miss_jwo WordPress is used as a benchmarking tool for PHP Core
  47. 47. https://make.wordpress.org/core/2015/09/10/wordpress-and-php7/
  48. 48. https://make.wordpress.org/core/2015/09/10/wordpress-and-php7/
  49. 49. @wppompey #WPPompey @miss_jwo Plugin Requirements
  50. 50. https://make.wordpress.org/plugins/2017/08/29/minimum-php-version-requirement/
  51. 51. @wppompey #WPPompey @miss_jwo Yoast SEO
  52. 52. @wppompey #WPPompey @miss_jwo Yoast SEO
  53. 53. https://wptavern.com/yoast- seo-4-5-urges-users-to-upgrade- to-php-7
  54. 54. https://wptavern.com/yoast-seos-php-upgrade-nag-is-producing-a-significant-increase-in-sites- upgrading-to-php-7
  55. 55. https://wordpress.org/support/topic/php-requirement/
  56. 56. @wppompey #WPPompey @miss_jwo WordPress 5.2
  57. 57. WordPress 5.2 β€’ Planned for April 2019 β€’ To include increasing the minimum PHP version to 5.6 β€’ Chalked to include a 
 β€œWhite Screen of Death” protector
  58. 58. What you can do Photo by Greg Rakozy on Unsplash
  59. 59. Check, Test, Update Photo by Katie Moum on Unsplash
  60. 60. Check with Site Health Check plugin Test with PHP Compatibility plugin Update with your hosting provider Photo by Katie Moum on Unsplash
  61. 61. Check, Test, Update Photo by Katie Moum on Unsplash
  62. 62. @wppompey #WPPompey @miss_jwo What version of PHP your site is running?
  63. 63. Site Health Check plugin Photo by Katie Moum on Unsplash
  64. 64. https://wordpress.org/plugins/health-check @miss_jwo #WCNordic
  65. 65. Check, Test, Update Photo by Katie Moum on Unsplash
  66. 66. @wppompey #WPPompey @miss_jwo What about custom code? Plugins & Themes? 8
  67. 67. @wppompey #WPPompey @miss_jwo β€’ Checks for spelling mistakes
 β€’ Does not check that the sentences make sense Static Analysers
  68. 68. @wppompey #WPPompey @miss_jwo Scenario #1
  69. 69. @wppompey #WPPompey @miss_jwo Click & Check!
  70. 70. @wppompey #WPPompey @miss_jwo WP Engine Wrapper Plugin https://wordpress.org/plugins/php-compatibility-checker
  71. 71. @wppompey #WPPompey @miss_jwo WP Engine Wrapper Plugin←Out of date already ←EOL : December 2019
  72. 72. WP Engine Wrapper Plugin
  73. 73. @wppompey #WPPompey @miss_jwo Scenario #2
  74. 74. @wppompey #WPPompey @miss_jwo Composer & PHP CompatibilityWP & WordPress Coding Standards Tools for your workflow: (Will also install PHP Coding Standards)
  75. 75. Where in the workflow? β€’ Locally β€’ Before commits are accepted into a repo β€’ Before code is push to production
  76. 76. Composer & PHP Compatibility
  77. 77. Composer & PHP Compatibility Number of files checked Warning found Skipped file Error found @miss_jwo
  78. 78. Composer & PHP Compatibility
  79. 79. Composer & PHP Compatibility
  80. 80. WordPress Coding Standards Will tell you about deprecated functions in WordPress
  81. 81. Check, Test, Update Photo by Katie Moum on Unsplash
  82. 82. @wppompey #WPPompey @miss_jwo Migration Time πŸš›
  83. 83. @wppompey #WPPompey @miss_jwo PHP.net manual πŸš›
  84. 84. Mirgate πŸš›
  85. 85. β€’ Start at your current PHP version β€’ Use a static analyser β€’ Check the migration guide for current PHP Version β€’ Repeat till at desired PHP version. πŸš›
  86. 86. Mirgate πŸš›
  87. 87. @wppompey #WPPompey @miss_jwo Contact your hosting provider πŸš›
  88. 88. Photo by Greg Rakozy on Unsplash Caveats
  89. 89. @wppompey #WPPompey @miss_jwo Some function outputs have changed
  90. 90. @wppompey #WPPompey @miss_jwo Runtime errors will not be detected by a static analyser
  91. 91. @wppompey #WPPompey @miss_jwo If you care about keeping your WordPress up to date, you should care about keeping your server up to date too.
  92. 92. @wppompey #WPPompey @miss_jwo Developers & hosting companies are your friends @miss_jwo #WCNordic
  93. 93. @wppompey #WPPompey @miss_jwo Plugin Author? πŸ”Œ @miss_jwo #WCNordic
  94. 94. @wppompey #WPPompey @miss_jwo Set a minimum PHP version requirement in plugin readme file https://make.wordpress.org/plugins/2017/08/29/minimum-php-version-requirement/
  95. 95. @wppompey #WPPompey @miss_jwo ← Minimum requirement Plugin readme.txt
  96. 96. @wppompey #WPPompey @miss_jwo Minimum PHP Version Requirement
  97. 97. @wppompey #WPPompey @miss_jwo Resources πŸ“š
  98. 98. @wppompey #WPPompey @miss_jwo β€’ WordCamp London 2015: Lorna Jane Mitchell: Get Ready for PHPΒ 5.4+ (video) β€’ Lorna Jane Mitchell: Get Ready for PHP 5.4+ Slides β€’ Your hosting providers documentation β€’ php.net/manual β€’ https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/ #how-to-use β€’ Cloudways How to Upgrade From PHP 5.X to PHP 7 (Cheat Sheet) β€’ Auth0: Migrating a PHP5 app to PHP7 by Prosper Otemuyiwa (PDF) β€’ How to Set up Modern PHP Coding Standards for WordPress | Thorsten Frommen πŸ“š
  99. 99. Celebrate when we look after ourselves Photo byΒ Levi GuzmanΒ onΒ Unsplash
  100. 100. @wppompey #WPPompey @miss_jwo The power is in us all 🚫
  101. 101. Photo by Tim Marshall on Unsplash Questions?
  102. 102. Ask me later: πŸ•Š @miss_jwo πŸ“¬ jenny@humanmade.com

Γ—