1.在linux上搭建LAMP环境
https://blog.csdn.net/lxmblog/article/details/80338881
2. 修改apach
打开httpd.conf
[root@VM_0_13_centos Application]# chmod 777 Runtime/
https://blog.csdn.net/lxmblog/article/details/80338881
2. 修改apach
打开httpd.conf
[root@VM_0_13_centos Common]# vi /etc/httpd/conf/httpd.conf
DocumentRoot /var/www 改为 自己项目的目录
打开rewrite模式
LoadModule rewrite_module modules/mod_rewrite.so
<Directory "/var/www">
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
[root@VM_0_13_centos Application]# chmod 777 Runtime/