A detailed _php instance based on Appserv,xampp,wamp configuration php.ini removing warning information (NOTICE)

Source: Internet
Author: User
Tags configuration php

Appserv,xampp,wamp are integrated apache,mysql,php set, easy to use, there is no need to go one by one configuration Php,apache and MySQL.

Download the appropriate installation package to install, but for the PHP project, WAMP will default display notice information, a large section of the page, a large paragraph, more ugly. How do I get rid of these warning messages? Find the php.ini file first .

The path is: (My installation path is D:\wamp) D:\wamp\bin\php\php5.3.10\php.ini, open the file.

In the file search,error_reporting = E_all, this is the default value, and then changed to: Error_reporting = E_all&~e_notice, and then restart the Apache server OK.

This is for beginners of PHP, although I am also a rookie, but now finally know how to remove the warning message.

The corresponding, xampp,appserv and other suits, but also by modifying Php,ini to remove the warning message, we can extrapolate.

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.