Website using apache+php to implement message board function under Linux

Source: Internet
Author: User

First, our Linux server to install Apache and PHP PHP installation methods and Apache method as a rut

Please refer to: http://www.cnblogs.com/dagege/p/5949620.html

Two. Turn off the Firewall service and turn off SELinux

Please refer to: http://www.cnblogs.com/dagege/p/5947251.html

Three. We use the FTP service or the RZ command to place the file in the root directory of Apache/var/www/html

Sample file Download: Http://files.cnblogs.com/files/dagege/liuyanban.zip

[Email protected]/]# cd/var/www/html/[email protected] html]#ls-Total amount of La8drwxr-xr-x.3Root root -October One  A: to. DRWXR-xr-x.4Root root toOctober One  the: + ..-rw-r--r--1Root root123October One  A: toindex.php-rw-r--r--1Root root3704September +  the: toJUEZHEN.PHPDRWXR-xr-x2Root root6October One  A: -Messages[[email protected] html]#chmodo+WMessages/#给messages目录设置普通有用户的写入权限

Four. Start the httpd service

[Email protected] html]# systemctl start Httpd.service

Five. Results

  

Website using apache+php to implement message board function under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.