{"id":771,"date":"2026-10-15T17:06:34","date_gmt":"2026-10-15T17:06:34","guid":{"rendered":"https:\/\/www.farcorfe.org.uk\/?p=771"},"modified":"2026-10-15T17:06:37","modified_gmt":"2026-10-15T17:06:37","slug":"php-85-install","status":"publish","type":"post","link":"https:\/\/www.farcorfe.org.uk\/?p=771","title":{"rendered":"PHP 85 install"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">There were a slew of new packages for FreeBSD 15 on Sunday night, which I promptly installed Monday AM, taking the risk of not reading the UPDATING readme before hand.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Big mistake, as its bumped the default PHP version from 8.4 to 8.5.   The install\/upgrades seemed to go smoothly and a quick check of the all the installed PHP packages indeed showed they have installed smoothly and no remnants of 8.4 remained,  or so I thought. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A quick reboot and disaster.. The website could not connect to the Database server.   Mmmh,  web page helpfully telling me that the php-mysqli extension was missing.   Double check confirmed it wasn&#8217;t, but I reinstalled it just in case. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What I had missed and not automatically picked up was mod_phpXX had also been bumped, understandably to mod_php85 and it was this was the culprit to the erroneous error message,    A quick pkg install of mod_php85 removed the offending 84 version and a apachectl restart was sufficient to fix the issue. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I should. have remembered from all those days rebuilding ports when I managed via  Ports, but 6 months in I had got used to pkg to handle all the dependencies.    <\/p>\n","protected":false},"excerpt":{"rendered":"<p>There were a slew of new packages for FreeBSD 15 on Sunday night, which I promptly installed Monday AM, taking the risk of not reading the UPDATING readme before hand. Big mistake, as its bumped the default PHP version from 8.4 to 8.5. The install\/upgrades seemed to go smoothly and a quick check of the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.farcorfe.org.uk\/?p=771\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;PHP 85 install&#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":[5,7,10],"tags":[],"class_list":["post-771","post","type-post","status-publish","format-standard","hentry","category-free","category-house","category-tech-news"],"_links":{"self":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=771"}],"version-history":[{"count":1,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/771\/revisions"}],"predecessor-version":[{"id":772,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/771\/revisions\/772"}],"wp:attachment":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}