Ubuntu14.04安装配置LAMP环境(php5.6)

2021-06-21 00:03

阅读:682

标签:chm   mysql   nbsp   bin   led   lam   rewrite   amp   apach   

sudo apt-get install python-software-properties          

sudo apt-get update

sudo apt-get install vim

sudo apt-get install apache2

sudo apt-get install -y php5     //php -v   查看版本

sudo apt-get install mysql-server mysql-client        //设置密码

sudo apt-get install mcrypt

sudo apt-get install php5-mcrypt

sudo apt-get install php5-gd    //安装gd库     重启apache   /etc/init.d/apache2 restart

sudo apt-get install php5-mysql     


sudo apt-get install curl

sudo apt-get install wget

sudo apt-get install openssl

sudo apt-get install redis-server

chmod +x ./composer.phar       sudo mv composer.phar /bin/composer     //安装composer

ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load    //开启伪静态

Ubuntu14.04安装配置LAMP环境(php5.6)

标签:chm   mysql   nbsp   bin   led   lam   rewrite   amp   apach   

原文地址:http://www.cnblogs.com/lamp01/p/7183842.html


评论


亲,登录后才可以留言!