{"id":2673,"date":"2015-09-29T01:27:06","date_gmt":"2015-09-29T01:27:06","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2673"},"modified":"2015-09-29T01:27:06","modified_gmt":"2015-09-29T01:27:06","slug":"install-apache-mysql-and-php-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/09\/29\/install-apache-mysql-and-php-on-ubuntu-14-04\/","title":{"rendered":"Install Apache, Mysql and PHP on Ubuntu 14.04"},"content":{"rendered":"<p>How to install Apache, MySQL and PHP on Ubuntu 14.04<\/p>\n<p>Update<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# sudo apt-get update\n<\/pre>\n<p>Apache<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# sudo apt-get install apache2\n<\/pre>\n<p>Install MySQL<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# sudo apt-get install mysql-server php5-mysql\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# sudo mysql_install_db\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# mysql_secure_installation\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n<\/pre>\n<p>Install PHP<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt\n<\/pre>\n<p>Restart Server<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# sudo \/etc\/init.d\/apache2 restart\n<\/pre>\n<p>Check Apache<\/p>\n<p>Open a web browser and navigate to http:\/\/IPADDRESS. You should see a message saying It works!<\/p>\n<p>Check PHP<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# php -r &#039;echo &quot;\\n\\nYour PHP installation is working fine.\\n\\n\\n&quot;;&#039;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How to install Apache, MySQL and PHP on Ubuntu 14.04 Update # sudo apt-get update Apache # sudo apt-get install apache2 Install MySQL # sudo apt-get install mysql-server php5-mysql # sudo mysql_install_db # mysql_secure_installation Install PHP # sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt Restart Server # sudo \/etc\/init.d\/apache2 restart Check Apache Open a web browser &#8230; <a title=\"Install Apache, Mysql and PHP on Ubuntu 14.04\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/09\/29\/install-apache-mysql-and-php-on-ubuntu-14-04\/\" aria-label=\"Read more about Install Apache, Mysql and PHP on Ubuntu 14.04\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,70,84,117],"tags":[],"class_list":["post-2673","post","type-post","status-publish","format-standard","hentry","category-apache","category-mysql","category-php","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2673"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2673\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}