{"id":218,"date":"2018-08-01T10:51:55","date_gmt":"2018-08-01T18:51:55","guid":{"rendered":"http:\/\/www.gauntletwizard.net\/wordpress\/?p=218"},"modified":"2018-08-01T10:51:55","modified_gmt":"2018-08-01T18:51:55","slug":"upgrading-php-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.gauntletwizard.net\/wordpress\/?p=218","title":{"rendered":"Upgrading PHP on Ubuntu"},"content":{"rendered":"<p>One of the weirdities that I have on my personal server is that my public facing site &#8211; www.gauntletwizard.net &#8211; is served from my personal `~\/public-html\/` folder. PHP is disabled from these folders by default, for good reason, but that reason is to keep PHP out of the hands of randos and I&#8217;m careful about who&#8217;s on my machine.<\/p>\n<p>Anyway &#8211; There&#8217;s a stanza in \/etc\/apache2\/mods-enabled\/php-[7].conf that begins with `Running PHP scripts in user directories is disabled by default` &#8211; Do as it says and comment that section out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the weirdities that I have on my personal server is that my public facing site &#8211; www.gauntletwizard.net &#8211; is served from my personal `~\/public-html\/` folder. PHP is disabled from these folders by default, for good reason, but that reason is to keep PHP out of the hands of randos and I&#8217;m careful about &hellip; <a href=\"https:\/\/www.gauntletwizard.net\/wordpress\/?p=218\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Upgrading PHP on Ubuntu<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/218"}],"collection":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=218"}],"version-history":[{"count":1,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/218\/revisions"}],"predecessor-version":[{"id":220,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/218\/revisions\/220"}],"wp:attachment":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}