{"id":318,"date":"2026-11-25T18:45:24","date_gmt":"2026-11-26T01:45:24","guid":{"rendered":"https:\/\/japanobserver.net\/?p=318"},"modified":"2026-11-25T18:45:24","modified_gmt":"2026-11-26T01:45:24","slug":"finally-all-up-to-date","status":"publish","type":"post","link":"https:\/\/japanobserver.net\/index.php\/2026\/11\/25\/finally-all-up-to-date\/","title":{"rendered":"Finally All Up to Date!"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Oh dear goodness, has this been an interesting several months. For reasons I still entirely understand, upgrading WordPress and PHP has been a nightmare. After MUCH digging I finally got it all working. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For those who just tuned in, I&#8217;ve been trying to upgrade PHP for this website for months. After migrating from an old, out of service Amazon Linux 2018 instance I upgraded to Amazon Linux 2 which reached its EOL in 2026. My plan was migrate all the way to Amazon Linux 2023 with everything being up to date. Regrettably, WordPress stopped working every time I upgraded PHP. Despite turning on all logging features I wouldn&#8217;t even get a log generated! <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All of the online advice I saw totally didn&#8217;t apply; update all WordPress plugins? Check. Update the database? Check. Make sure it&#8217;s running with enough RAM? Check. Still nothing. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally I upgraded to AL 2023 and figured no matter how long it took I would get it running. After much digging, I discovered the problem had to do with WordPress&#8217;s wp-config.php file. I couldn&#8217;t tell WHAT about this file was wrong but when I used the one from a fresh install it worked. Ah-HA! Now I know what&#8217;s causing the outage. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I restored all of my WP files <em>except  <\/em>the wp-config.php file. I used the fresh one and just added the relevant information. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BAM! The site worked. I now had to migrate the Elastic IP from the old instance to the new one and re-create the SSL cert, but once I did, it was working. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now I&#8217;m gonna rest. Happy Thanksgiving! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oh dear goodness, has this been an interesting several months. For reasons I still entirely understand, upgrading WordPress and PHP has been a nightmare. After MUCH digging I finally got it all working. For those who just tuned in, I&#8217;ve been trying to upgrade PHP for this website for months. After migrating from an old, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/japanobserver.net\/index.php\/2026\/11\/25\/finally-all-up-to-date\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Finally All Up to Date!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6,10],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-aws","category-migration","category-system-administration"],"_links":{"self":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":1,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/318\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}