ubuntu14安装LAMP+phpMyAdmin以及启用rewrite

Author: Bruce Liu Posted on: 2020-07-11 17:12:33 Visited: 331

apt-get install apache2
apt-get install libapache2-mod-php5 php5
apt-get install mysql-server mysql-client
apt-get install phpmyadmin

# ln -sf /usr/share/phpmyadmin/ /var/www/html/

root@srv:/var/www/html/phpmyadmin# cp config.sample.inc.php config.inc.php

修改配置文件/etc/apache2/apache2.conf

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>

重启Apache

/etc/init.d/apache2 restart




Tags:
ubuntu rewrite LAMP

相关主题:

留言信息:

......期待您的留言!


增加留言、提问或者评论,不用注册,匿名提交,你提交的信息经过审核后才会显示:


© 2008-2022 CunYouLu存有录博客 村友录 存游录 鲁ICP备08005943号