wampserver環境下,安裝ucenter1.6.0

1,)從官網下載UCenter_1.6.0_SC_UTF8.zip,解壓拷貝upload到www下,重命名upload->ucenter;php

2,)D:\wamp\bin\apache\Apache2.2.21\conf\extra\httpd-vhosts.conf 添加虛擬目錄配置:數據庫

<VirtualHost *:8080>
    ServerAdmin admin@ucenter001.cn
    DocumentRoot "d:/wamp/www/ucenter"
    ServerName ucenter001.com
    ServerAlias *.ucenter001.com
    ErrorLog logs/ucenter001-error.log
    CustomLog "logs/ucenter001-access.log" common
    <Directory "d:/wamp/www/ucenter">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

3,)添加host配置C:\Windows\System32\drivers\etc\host最後一行添加:apache

127.0.0.1       www.ucenter001.com

4,)在瀏覽器中輸入:http://www.ucenter001.com:8080/install,若是出現瀏覽器

找到D:\wamp\bin\php\php5.3.10\php.ini,將short_open_tag = Off改成:short_open_tag = Onide

; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It's been
; recommended for several years that you not use the short tag "short cut" and
; instead to use the full <?php and ?> tag combination. With the wide spread use
; of XML and use of these tags by other languages, the server can become easily
; confused and end up parsing the wrong code in the wrong context. But because
; this short cut has been a feature for such a long time, it's currently still
; supported for backwards compatibility, but we recommend you don't use them.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/short-open-tag
short_open_tag = On

重啓wampserver服務,以後刷新頁面若是仍是不行,就須要經過wampserver界面來勾選short_open_tag:this

勾選以後,wampserver服務會自動重啓,等待重啓完成後,刷新頁面http://www.ucenter001.com:8080/install,界面出現:spa

到此說明已經進入正常安裝界面了,解下來點擊「我贊成」.net

進入安裝界面:code

點擊「下一步」,進入「數據庫,後臺密碼配置」界面:server

填寫配置信息完成後,點擊「下一步」,將會進入自動安裝數據庫,修改配置文件界面,完成後界面狀態爲:

上邊界面代表已經數據庫安裝成功,配置文件修改爲功,到此已經安裝成功,點擊「安裝用戶中心成功,點擊進入下一步」

進入「UCenter用戶管理中心」後,輸入密碼「admin」,驗證碼,點擊「登陸」,進入後臺。

到此界面,下一篇文章進行:《ucenter與ucenter home整合篇》。

相關文章
相關標籤/搜索