Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

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

Shulou Source: shulou.com Published: 2022-06-02 04:10:53 10月03日 Update

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

Tags: Website mall architecture process learning content software support service testing power success code dynamic password that is platform application idea situation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Linux Redmi Microsoft Shulou Information