{"id":2316,"date":"2021-09-25T13:26:55","date_gmt":"2021-09-25T13:26:55","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2316"},"modified":"2021-09-25T13:26:55","modified_gmt":"2021-09-25T13:26:55","slug":"ubuntu-and-php-5-mcrypt-extension-is-missing-error-2","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/ubuntu-and-php-5-mcrypt-extension-is-missing-error-2\/","title":{"rendered":"Ubuntu and PHP 5 \u201cmcrypt extension is missing\u201d error"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-169\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/New-Project-14-300x137.png\" alt=\"Linux-1\" width=\"1024\" height=\"468\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/New-Project-14-300x137.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/New-Project-14-768x351.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/New-Project-14.png 1024w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Once you have install lamp-server or the individual php5-mcrypt package, you may come across the following error (e.g. in phpMyAdmin):<\/p>\n<p>The mcrypt extension is missing. Please check your PHP configuration.<\/p>\n<p><strong>These problem is because the module is not enabled by default after installation. To enable, execute:<\/strong><\/p>\n<pre>sudo php5enmod mcrypt<\/pre>\n<p>and then restart the Apache server using:<\/p>\n<pre>sudo \/etc\/init.d\/apache2 restart<\/pre>\n<pre>sudo service apache2 restart<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Once you have install lamp-server or the individual php5-mcrypt package, you may come across the following error (e.g. in phpMyAdmin): The mcrypt extension is missing. Please check your PHP configuration. These problem is because the module is not enabled by default after installation. To enable, execute: sudo php5enmod mcrypt and then restart the Apache server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-2316","post","type-post","status-publish","format-standard","hentry","category-linux-servers"],"_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2316"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2316\/revisions"}],"predecessor-version":[{"id":2317,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2316\/revisions\/2317"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}