{"id":346,"date":"2023-12-02T11:14:47","date_gmt":"2023-12-02T17:14:47","guid":{"rendered":"https:\/\/www.chrystalsander.com\/blog\/?p=346"},"modified":"2024-07-10T11:26:08","modified_gmt":"2024-07-10T16:26:08","slug":"wordpress-and-php-compatibility","status":"publish","type":"post","link":"https:\/\/www.chrystalsander.com\/blog\/?p=346","title":{"rendered":"WordPress and PHP Compatibility"},"content":{"rendered":"\n<p>When setting up a WordPress site, it is helpful to determine the compatibilities of the technologies you are planning on using so that you do not run into issues later in your development.  In particular, assure that the following components are compatible with each other:<\/p>\n\n\n\n<ul>\n<li>Theme version<\/li>\n\n\n\n<li>WordPress version.  For example, you might not want the latest version.<\/li>\n\n\n\n<li>Plug-in version<\/li>\n\n\n\n<li>PHP version<\/li>\n\n\n\n<li>Database version<\/li>\n<\/ul>\n\n\n\n<p>The above need to be compatible from the start.  The below reference can help to assure that your WordPress components are compatible with your PHP selection:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-make-wordpress-core wp-block-embed-make-wordpress-core\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"uO45rdJ6at\"><a href=\"https:\/\/make.wordpress.org\/core\/handbook\/references\/php-compatibility-and-wordpress-versions\/\">PHP Compatibility and WordPress Versions<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;PHP Compatibility and WordPress Versions&#8221; &#8212; Make WordPress Core\" src=\"https:\/\/make.wordpress.org\/core\/handbook\/references\/php-compatibility-and-wordpress-versions\/embed\/#?secret=zXi5LqGAwT#?secret=uO45rdJ6at\" data-secret=\"uO45rdJ6at\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-make-wordpress-core wp-block-embed-make-wordpress-core\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"hTU4H0Plxv\"><a href=\"https:\/\/make.wordpress.org\/core\/handbook\/references\/phpunit-compatibility-and-wordpress-versions\/\">PHPUnit Compatibility and WordPress Versions<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;PHPUnit Compatibility and WordPress Versions&#8221; &#8212; Make WordPress Core\" src=\"https:\/\/make.wordpress.org\/core\/handbook\/references\/phpunit-compatibility-and-wordpress-versions\/embed\/#?secret=mpf6BGw7Ku#?secret=hTU4H0Plxv\" data-secret=\"hTU4H0Plxv\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>For further planning and upgrades, here is a good reference:<\/p>\n\n\n\n<p><a href=\"https:\/\/wpastra.com\/guides-and-tutorials\/changing-wordpress-php-version\/\">https:\/\/wpastra.com\/guides-and-tutorials\/changing-wordpress-php-version\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When setting up a WordPress site, it is helpful to determine the compatibilities of the technologies you are planning on using so that you do not run into issues later in your development. In particular, assure that the following components are compatible with each other: The above need to be compatible from the start. The &hellip; <a href=\"https:\/\/www.chrystalsander.com\/blog\/?p=346\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress and PHP Compatibility&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[88,99],"tags":[104,87],"_links":{"self":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/346"}],"collection":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=346"}],"version-history":[{"count":1,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":347,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/346\/revisions\/347"}],"wp:attachment":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}