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 build php website in linux system

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

Share

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

This article mainly introduces the linux system how to build php website, the article is very detailed, has a certain reference value, interested friends must read it!

1. Install the related software php apache mysql mysql-server php-mysql

Yum-y install php httpd mysql mysql-server php-mysql

2. Start the service

Service httpd start: start apache service service mysqld start: start mysql service mysqladmin-uroot password 123456: set mysql login password mysql-uroot-p123456: log in to mysql database iptables-F: clear firewall

3. Download the source code of a PHP website on the Internet and copy it to the / var/www/html directory

Chown-R apache www: modify the authority above is how the linux system to build php website all the content, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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