Failed to read configuration file

This usually means that there is a syntax error in the file, please check the error shown below.

Source: Internet
Author: User
Tags learn php phpmyadmin

These days to learn PHP, feel the preparation of complex, if the former me, almost to give up.

Today learning to use phpmyadmin tools, encountered a mistake, Baidu did not find the answer, only found a forum someone asked me the same question, but no one answered, is very disappointed.

At this time, I used www.google.com.hk search for a while, found that a foreign site someone also asked me the same question, but also no one answered, is disappointed!!

However, the questioner's operation made me take another step towards solving the problem: He said that when he opened the show_config_errors.php in his browser, he showed an error (but he still didn't solve the problem).

So, I also do this operation, and sure enough browser error, my mistake is:ParseError: syntax error, unexpected t_constant_encapsed_string inC:\Program Files\apache Software foundation\apache2.2\htdocs\phpmyadmin\config.inc.php on line

I opened the config.inc.phpwith Notepadand found that line No. 288 was * suggested: ' Pma_bookmark '

This sentence is no problem ah, I think, then I think, I have just made a $cfg[' Servers ' [$i] [' bookmarktable '], is not my preparation wrong.

Go to $cfg[' Servers ' [$i] [' bookmarktable '] This line, it is really wrong, I entered the ' Pma_bookmark ', a single quote, remove that extra single quote, save. Restart the Apache service and fix it.

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.