在Centso服务器上安装ECShop详细方法
发布时间:12/03 来源: 浏览:
关键词:
当然还有另外一种不好的办法-将/etc/ECshopV2_7目录权限改为777,这种做法不安全, 3.配置ECShop.conf文件,放到/etc/httpd/conf.d/目录下 # Listen for virtual host requests on all IP addresses #最好不要少 Listen *:8085 <VirtualHost *:8085> <span style="white-space:pre"> </span>#项目路径 DocumentRoot /etc/ECShopV2_7 ServerName master.domain.com ErrorLog /etc/ECShopV2_7/log/ECShop-error.log CustomLog /etc/ECShopV2_7/log/ECShop-common.log commom </VirtualHost> www.zuimoban.com # Other directives here <Directory "/etc/ECShopV2_7"> #Options Indexes FollowSymLinks ExecCGI Includes Order allow,deny Allow from all AllowOverride All # Require all granted </Directory> 重启服务 sudo service httpd restart 注意MySQL服务也没要开启: sudo mysqld start 因为配置文件开启的是8085端口,所以本机访问地址:localhost:8085(或者通过IP访问) 成功一半.