Internal server error resolution occurs when Zend server is first run after installation

Source: Internet
Author: User
Tags parse error zend server

Regardless of which version of Zend Server is used to build the PHP server, the first run will have internal server error errors, for many beginners, every time you see this error, the moment the heart is absolutely broken. However, this error is not as difficult to imagine, it can be said to be simple.

As a developer, it does not matter to encounter the error, find a solution is not difficult, but we are the program ape, we have to know why, so the error occurred, immediately go to check the error log, open \apache2\logs\error.log, found that there is such a line of records:

[error] Zend Enabler cannot load because of a problem inits configuration file: XML parse error on line 1 column 1 - invalid byte ‘?‘at position 3 of a 3-byte sequence

Then open the Zend Server installation directory, there is a zendenablerconf.xml in the \zendserver\etc\, the log mentions "Zend Enabler" should be it, open you will be surprised to find:

This does not start out is garbled, undoubtedly this should be said in the log "invalid byte", "at position 3 of a 3-byte sequence", the garbled deletion here to "<" on it. Then restart Zend Server, open localhost:10001, all ok!.

Internal server error resolution occurs when Zend server is first run after installation

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.