软件准备
apache 2.2.x for windows
php 5.2.x for windows
ZendOptimizer-3.3.0a for windows
ucenter
ecshop
开始安装
1.安装apache2.2
2.安装php5.2 for windows 在安装过程中选择需要集成的web server为apache2.2.x并且选择正确的apache安装路径.
3.配置apahce2.2.x
- 配置虚拟目录
修改httpd.conf
去掉如下的注释
# User home directories
Include conf/extra/httpd-userdir.conf
修改 conf/extra/httpd-userdir.conf
添加如下的虚拟目录配置
Alias /ucenter/ "I:/UCenter_1.0.0_SC_GBK/upload/"
<Directory "I:/UCenter_1.0.0_SC_GBK/upload/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Alias /ecshop/ "I:/ecshop.v2.6.0_GBK_build0504/upload/"
<Directory "I:/ecshop.v2.6.0_GBK_build0504/upload/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory> - 添加index.php默认页面支持
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
4.安装zend optimizer
安装过程中需要注意选择apache和php的安装路径。
5.配置php.ini
- 添加必要extension
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysql.dll - 修改short_open_tag = On 该选项必须修改,否则运行ucenter会报错。
- 拷贝php安装路径/libmysql.dll 到c:\windows\system32目录
这步应该可以不用做,但是实际上如果不错这一步的话会出现加载mysql驱动异常的错误。
所以还是做一下
6.安装ucenter
打开http://localhost/ucenter/install/index.php
按照提示开始安装ucenter
详细的安装过程请参考
http://www.discuz.net/thread-897809-1-1.html
7.安装ecshop
从ucenter后台的应用管理中安装ecshop
截图如下
然后按照页面提示安装ecshop
详细过程请参考
http://www.discuz.net/thread-898071-1-1.html