Solve the 500 error in the backup of the CMS Empire database under php5.3

Source: Internet
Author: User
Tags ini

Back up the database, that is, Empirebak is used. On php5.1.6, the normal Empire backup King experienced a 500 error after php5.3.6 was upgraded.

Baidu started to search again and the results could not be found. It seems that Baidu would not be able to ask a question at the official forum of the Empire.

If you have no answer to the question at half past one, Google will search for php5.4.6.

Later, some people in the Empire Forum replied that the solution was very simple. Modify php. ini and set short_open_tag to On.

Vi etc/php. ini

/Short_open_tag

Change the default Off to On

 

That is: short_open_tag = on

 

: Wq

Service httpd restart

Okay, not only is the Empire backup King normal, but also the probe that was not good yesterday.

 

If it is windows, find the location of php. ini. I don't know how to find it?

 

Use phpinfo (); check the location where php. ini is loaded, find php. ini, and modify short_open_tag = Off to: short_open_tag = on

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.