{"id":17209,"date":"2020-09-11T12:33:20","date_gmt":"2020-09-11T10:33:20","guid":{"rendered":"http:\/\/stefanov.no-ip.org\/wordpress\/?p=17209"},"modified":"2020-09-11T12:38:12","modified_gmt":"2020-09-11T10:38:12","slug":"php-update","status":"publish","type":"post","link":"https:\/\/stefanov.no-ip.org\/index.php\/2020\/09\/11\/php-update\/","title":{"rendered":"PHP Update"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">How to update php for WordPress:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt; sudo apt update\n&gt; sudo apt install software-properties-common\n&gt; apt list --upgradable\n&gt; sudo add-apt-repository ppa:ondrej\/php\n&gt; sudo apt install php7.4\n&gt; sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y\n&gt; php -v\n&gt; sudo a2dismod php7.0\n&gt; sudo a2dismod php7.2\n&gt; sudo a2enmod php7.4\n&gt; systemctl restart apache2<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How to update php for WordPress: &gt; sudo apt update &gt; sudo apt install software-properties-common &gt; apt list &#8211;upgradable &gt; sudo add-apt-repository ppa:ondrej\/php &gt; sudo apt install php7.4 &gt; sudo apt install php7.4-common php7.4-mysql&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":17218,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-17209","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/posts\/17209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/comments?post=17209"}],"version-history":[{"count":7,"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/posts\/17209\/revisions"}],"predecessor-version":[{"id":17219,"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/posts\/17209\/revisions\/17219"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/media\/17218"}],"wp:attachment":[{"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/media?parent=17209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/categories?post=17209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stefanov.no-ip.org\/index.php\/wp-json\/wp\/v2\/tags?post=17209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}