Configure php web page to display various syntax errors

Source: Internet
Author: User

Identifying problems is more important than solving problems. When using the php integrated development environment Appserv web page, various syntax errors are prompted, but you cannot configure the development environment by yourself, especially if it is not a syntax error, for example, if you do not know where the problem occurs when calling the com component, it cannot be tolerated. You need to configure it separately.

The directory file configured by yourself
Pic
Configure the apache file D: \ AppServ \ apache \ conf \ httpd. conf

Set
Copy codeThe Code is as follows:
Php_flag display_errors on
Php_value error_reporting 2039

Put it in the last two rows

Configure D: \ AppServ \ php. ini

Set
Copy codeThe Code is as follows:
Display_errors = On
Error_reporting = E_ALL | E_STRICT

Put it in the php configuration file and restart apache

OK!

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.