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

The detailed process of building a website mall based on LAMP framework

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly explains "the detailed process of building a website mall with LAMP architecture". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the detailed process of building a website mall with LAMP architecture".

Building a website Mall with LAMP Framework

Linux+Apache+Mysql/MariaDB+Perl/PHP/Python a group of open source software commonly used to build dynamic websites or servers, together to form a powerful Web application platform

I.

Install the required software packages

[root@w-163 ~] # yum install httpd

Mysql-server mysql php php-mysql-y

II.

Start LAMP related services

[root@w-163 ~] # service httpd start

[root@w-163 ~] # chkconfig httpd on

[root@w-163 ~] # service mysqld start

[root@w-163 ~] # chkconfig mysqld on

3.

Configure MySQL root password

[root@xuegod64] # / usr/bin/mysqladmin-u

Root password "123456"

IV.

Testing: logging in to mysql

[root@w-163 kaixin] # mysql-u root-p123456

5.

Test whether the website supports PHP

[root@w-163 kaixin] # cd / var/www/html/

[root@stu003 html] # vim index.php

[root@stu003 html] # cat index.php

Use a browser to access http://192.168.1.63/index.php, and PHP is supported if a PHP information page appears

VI.

Upload website template ECShop

[root@w-163~] # unzip-d / usr/local/src/ecshop

ECShop_V2.7.3_UTF8_release0411.zip

[root@w-163 ECShop_V2.7.3_UTF8_release0411] # ls

Docs upgrade upload

Modify permissions for uploading upload;:

Chown apache:apache ecshop/-R

7.

Web page installation

Http://192.168.1.63/ecshop/install/index.php

Error installing Times:

Create an administrator account. Fail

Warning: date (): It is not safe to rely on the system'stimezone settings. You are * required* to use the date.timezone setting or thedate_default_timezone_set () function. In case you used any of those methods andyou are still getting this warning, you most likely misspelled the timezoneidentifier. We selected 'Asia/Chongqing' for' CST/8.0/no DST' instead in/home/babap/ecshop/includes/lib_time.php on line 28 OK

Modify method:

Vimecshop/install/includes/init.php

one

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

Internet Technology

Wechat

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

12
Report