tisdag 15 augusti 2017

Install Apache, MySQL & PHP (LAMP) on Raspberry Pi

#Install apache
sudo apt-get install -y apache2

#Install mysql-server (replace with mariadb-server?)
sudo apt-get install -y mysql-server


 
#Install PHP
sudo apt-get install -y php5 php5-cli php5-mysql
sudo apt-get install  -f php-pear
#-f forces late version, fixes dependency problem with Net_SMTP

sudo pear install Mail
sudo pear install Net_SMTP

Inga kommentarer:

Skicka en kommentar