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
www.bkjia.comtruehttp: //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,...