Home >Backend Development >PHP Tutorial >ubuntu1510 install lampp
Installation environment
<code>apt-get -y install apache2 php5 php5-mhash php5-mcrypt php5-curl php5-cli php5-mysql php5-mysqlnd php5-sqlite php5-gd php5-intl php5-dev mysql-server mysql-client phpmyadmin</code>
Enable mcrypt extension of php
<code>php5enmod mcrypt</code>
Start pseudo-static
<code>a2enmod rewrite</code>
Restart apache service
<code>service apache2 restart</code>
Install ftp
<code>apt-<span>get</span> install vsftpd</code>
Modify /etc/vsftpd.conf
- local_enable=YES //Allow local users to access
- write_enable=YES //Allow writing
- local_umask=022 //Permission mask of the uploaded file
<code>service vsftpd restart</code>
Copyright statement: This article is an original article by the blogger and may not be reproduced without the permission of the blogger.
The above introduces the installation of lampp on ubuntu1510, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.