Configure PHP Web page to display various grammatical errors _php tips

Source: Internet
Author: User
Finding problems is more important than solving problems, using the PHP integrated development Environment Appserv Web pages prompts for a variety of syntax errors, but configuring your development environment without prompting for errors, especially if it's not a syntax error, such as a COM component call, is intolerable when you don't know where the problem is, and you need to configure

This is where you configure your own directory files
Pic
Configure Apache this file D:\AppServ\apache\conf\httpd.conf

Will
Copy Code code as follows:

Php_flag display_errors on
Php_value error_reporting 2039

Put it in the last two lines.

Configure D:\AppServ\php\php.ini

Will
Copy Code code as follows:

Display_errors = On
error_reporting = E_all | E_strict

In the PHP configuration file, 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.