_php example of a method for removing warning messages (NOTICE) based on Appserv,xampp,wamp configuration php.ini

Source: Internet
Author: User
Tags configuration php

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

Download the appropriate installation package to install, but for the PHP project, Wamp will display the notice information by default, a large segment of the page, the more ugly. How do you 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.

Search in the file,error_reporting = E_all , this is the default value, then change to: Error_reporting = E_all&~e_notice, and then restart the Apache server is OK.

This is for the novice php, although I am a rookie, but now finally know how to remove the warning message.

corresponding, xampp,appserv and other suits, also by modifying the 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.