Configuring PHP web pages to display various syntax errors_PHP tutorial

WBOY
Release: 2016-07-21 16:12:50
Original
889 people have browsed it

Finding problems is more important than solving them. Using the PHP integrated development environment Appserv web page will prompt various syntax errors, but configuring the development environment by yourself will not prompt errors, especially when it is not a syntax error, such as the call of a COM component, when you do not know where the problem occurs. , is intolerable. At this time, you need to configure it separately

At this time, configure the directory file yourself
pic
Configure apache. This file D:AppServapacheconfhttpd.conf

will

Copy the code The code is as follows:

php_flag display_errors on
php_value error_reporting 2039

at the end Two lines

configure D:AppServphpphp.ini

and copy the code
as follows:
display_errors = On
error_reporting = E_ALL | E_STRICT


Put it in the php configuration file, restart apache

OK!

http://www.bkjia.com/PHPjc/313593.html

truehttp: //www.bkjia.com/PHPjc/313593.htmlTechArticleFinding problems is more important than solving them. Using the PHP integrated development environment Appserv web page will prompt various syntax errors, but configure it yourself The development environment cannot prompt errors, especially if it is not a syntax error,...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!