Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install ecshop under centos6.5

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to install ecshop under centos 6.5. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.

Step 1:

shell>yum install httpd

shell>yum install PHP

shell>yum install MySQL

setup startup chkconfig --levels 235 mysqld on chkconfig --levels 235 httpd on

Start mysql service mysqld start

Set password for MySQL data root account:

[root@localhost ~]# mysql_secure_installation

Press Enter when prompted:

Enter current password for root

The following appears again:

Set root password? [Y/n]

The following prompt appears to enter the password you need to set, enter and then enter a confirmation:

New password:

There will be four confirmations, namely:

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]

Enter directly.

Step 2:

The requested URL/html/index.php was not found on this server.

Renamed mv upload ecshop

Modify the apache configuration file

vi /etc/httpd/conf/httpd.conf

############################

ServerAdmin root

DocumentRoot /etc/www/html/ecshop

Proceed to httpd.conf file, noting that/ecshop is replaced with the actual installation directory of your store.

-------

Options FollowSymLinks

AllowOverride All ------formerly none

3. Search for LoadModule rewrite_module in httpd.conf and delete the #sign in front of the line.

If you have Apache version 1.3.x, you also need to look for AddModule mod_rewrite.c,

Please delete the previous #.

4. Turn off firewalls and selinux mechanisms. Restart the machine.

Step 3: Visit http://ip

1. How to install ecshop? Display does not support mySQL, GD version, JPEG, GIF, PNG

To solve this problem, you need to install the following software online. The order cannot be wrong. yum -y install mysql mysql-server mysql-devel php-mysql gd gd-devel httpd php php-gd (Enter).

Basically everything is supported, but jpeg appears unsupported. I have been searching for a lot of websites and this problem has been bothering me for a day. One way to say php downgraded to 5.2 can be solved, the second way

When detecting the environment, prompt: whether JPEG is supported is not supported.

Solution: In line 100 of lib_installer.php,JPEG is written as JPG. The correct one should be:

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

Warning: date_default_timezone_get():

Solution:

Find php installation directory, modify php.ini

[Date]

; Defines the default timezone used by the date functions

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

date.timezone =Asia/Shanghai

About "how to install ecshop under centos 6.5" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report