Home  >  Article  >  Backend Development  >  ubuntu1510 install lampp

ubuntu1510 install lampp

WBOY
WBOYOriginal
2016-08-08 09:19:08747browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn