Install wordpress Tip: Cannot modify header information error message

Source: Internet
Author: User
Tags php file install wordpress

Yesterday I installed WordPress tip: Cannot modify header information–headers already sent by error information, just start not know how to solve, and then Baidu solution to share the following.

Warning:cannot Modify header Information–headers already sent by (output started At/home/content/***/html/***/wp-confi g.php:1) in/home/content/***/html/***/wp-includes/pluggable.php on line 890

Baffled, on the universal web search for half a day, found that there are the following solutions:

1.php.ini configuration problem, Solution: Open php.ini and then set output_buffering to ON, restart Appache can.

2. Using Windows Notepad to edit the Wp-config file (UTF8 encoding and BOM conflict), the solution: Using notepad++, UltraEdit, EditPlus editor, such as editing files, the general host management system with the editing function is also good.

3. There is also an article on wpchina.org, which says that if there are any characters in the php file before "<?php" and after "?>", it may cause an exception.

So

1th, I modified the php.ini file, the error is still;

2nd, I use EditPlus Editor to open Wp-config file, and then save, the problem remains;

3rd, open wp-config file with editor, unexpectedly did not discover "?>"

Method Summary

Some uft8 articles we'd better not use Notepad to open this will cause coding errors, so we can use the relevant software to open OH

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.