ApacheUbuntu

Installing LAMP

By September 23, 2018 December 7th, 2018 No Comments

Turn on PHP Short tags
Uncomment pdo_mysql, curl and other modules that are required.

1
 
1
<code lang="bash">

sudo a2enmod rewrite

1
<code lang="bash">

# For laravel 4 projects
sudo apt-get install php5.6-mcrypt;

1
<code lang="bash">

sudo apt-get install php5.6-gd;
sudo apt-get install php7.0-gd;
sudo apt-get install php7.1-gd;
sudo apt-get install php7.2-gd;

1
<code lang="bash">

sudo apt-get install php7.2-curl;

1
<code lang="bash">

sudo apt-get install php7.2-mbstring;

# For fpm

sudo apt-get install php-mbstring

1
<code lang="bash">

sudo apt-get install php7.2-xml;

1
<code lang="bash">

sudo apt-get install php5.6-mysql

1
<code lang="bash">

# For dbeaver
sudo apt-get install mysql-client

1
 
1