亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

centos6.5下如何安裝ecshop?centos6.5下安裝ecshop的詳細教程

  發(fā)布時間:2017-02-06 11:45:32   作者:佚名   我要評論
很多朋友再問centos6.5下如何安裝ecshop?下面小編將為大家?guī)韈entos6.5下安裝ecshop的圖文教程;希望能夠幫助到大家!有需要的朋友一起去看看吧

第一步:

shell>yum install httpd

shell>yum install PHP       

shell>yum install MySQL

設(shè)置啟動 chkconfig --levels 235 mysqld on    chkconfig --levels 235 httpd on

啟動mysql  service mysqld start 

設(shè)置 MySQL 數(shù)據(jù) root 賬戶的密碼:

[root@localhost ~]# mysql_secure_installation

當出現(xiàn)如下提示時候直接按回車:

Enter current password for root

出現(xiàn)如下再次回車:

Set root password? [Y/n]

出現(xiàn)如下提示輸入你需要設(shè)置的密碼,回車后在輸入一次確認:

New password:

接下來還會有四個確認,分別是:

Remove anonymous users? [Y/n]

Disallow root login remotely? [Y/n]

Remove test database and access to it? [Y/n]

Reload privilege tables now? [Y/n]

直接回車即可。

第二步:

上傳ECShop_V2.7.3_UTF8_release0411.zip下的upload文件夾 到/var/www/html/

改名 mv    upload   ecshop

修改apache配置文件

vi /etc/httpd/conf/httpd.conf

 ####################在文件最后修改(加入)#####################

<VirtualHost 你linux的ip地址 192.168.1.111>

 ServerAdmin root

 DocumentRoot /etc/www/html/ecshop

</VirtualHost>

繼續(xù)操作 httpd.conf 文件中,注意將 /ecshop 替換為您的商店的實際安裝目錄。

<Directory /ecshop>  -------》改成/var/www/html/ecshop

    Options FollowSymLinks

    AllowOverride All    --------以前是none

</Directory>

3、在 httpd.conf 中搜索 LoadModule rewrite_module,將該行前面的 # 號刪除。

      如果您的 Apache 是1.3.x版本還需要查找 AddModule mod_rewrite.c,

      請將前面的#刪除。

4.關(guān)閉防火墻和selinux機制。重啟機器。

第三步:訪問http://ip 

遇到的問題1 安裝ecshop出現(xiàn)如下狀況怎么辦?顯示不支持mySQL、不支持GD版本、不支持JPEG、GIF、PNG  

解決需要在線安裝下面的軟件,順序不能錯 yum -y install mysql mysql-server mysql-devel php-mysql gd gd-devel httpd php php-gd(回車),

基本上所有的都支持了,但是jpeg出現(xiàn)了不支持。找了好多網(wǎng)站,這個問題也困擾了我一天。一種方法說php降級到5.2可以解決,第二種方法

檢測環(huán)境的時候提示:是否支持 JPEG是不支持的。

解決:lib_installer.php中第100行,JPEG寫成了JPG,正確的應(yīng)該是:

$jpeg_enabled = ($gd_info['JPEG Support'] === true) ? $_LANG['support'] : $_LANG['not_support'];

繼續(xù)  安裝時出現(xiàn)Warning: date_default_timezone_get():

解決:

找到php安裝目錄,修改php.ini

[Date]

; Defines the default timezone used by the date functions

; http://php.net/date.timezone

date.timezone =Asia/Shanghai

相關(guān)文章

最新評論