{"id":12517,"date":"2016-03-25T21:07:18","date_gmt":"2016-03-25T15:37:18","guid":{"rendered":"http:\/\/blog.taragana.com\/?p=15"},"modified":"2016-03-25T21:07:18","modified_gmt":"2016-03-25T15:37:18","slug":"single-line-command-to-install-php5-mysql-apache2-xcache-php-pear-on-raspberry-pi","status":"publish","type":"post","link":"https:\/\/blog.taragana.com\/single-line-command-to-install-php5-mysql-apache2-xcache-php-pear-on-raspberry-pi-12517","title":{"rendered":"Single line command to install PHP5, MySQL, Apache2, XCache, PHP-Pear on Raspberry Pi"},"content":{"rendered":"

Installing LAMP on Raspberry Pi<\/strong> is very very simple. It takes a single line to execute on terminal \/ console.
\nsudo apt-get update; sudo apt-get -y install mysql-server php5-mysql apache2 apache2-utils php5 libapache2-mod-php5 php-pear php5-xcache php5-curl php5-gd<\/code>
\nCopy-paste the above line in terminal and press Enter. You will be asked to choose MySQL Server password. Choose wisely. Wait for it to complete and you are done. Now you can install any PHP \/ MySQL based programs and run it on the installed Apache server.
\nNotes;<\/p>\n