In linux, websites that use Apache + php to implement the message board function, and apache message boards

Source: Internet
Author: User

In linux, websites that use Apache + php to implement the message board function, and apache message boards

I. First, we need to install Apache and php on the linux server. The installation method is the same as that of Apache.

See http://www.cnblogs.com/dagege/p/5949620.html

2. Disable the Firewall Service and selinux

See http://www.cnblogs.com/dagege/p/5947251.html

3. Put the file in the Apache root directory/var/www/html through the FTP service or the rz command

Sample File Download: http://files.cnblogs.com/files/dagege/liuyanban.zip

[Root @ localhost/] # cd/var/www/html/[root @ localhost html] # Total ls-la usage 8drwxr-xr-x. 3 root 55 October 11 22:31. drwxr-xr-x. 4 root 31 Aug 17 15:40 .. -rw-r -- 1 root 123 October 11 22:31 index. php-rw-r -- 1 root 3704 September 19 15:05 juez.pdf. phpdrwxr-xr-x 2 root 6 October 11 22:30 messages [root @ localhost html] # chmod o + w messages/# Set common write permissions for users in the messages directory

4. Start the httpd service

[Root @ localhost html] # systemctl start httpd. service

5. Achievements

 

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.