An error is reported when the php program is run after WAMPSERVER is upgraded,

Source: Internet
Author: User
An error is reported when you run the php program after upgrading WAMPSERVER! Upgrade WAMPSERVER to 2.2 (Apache & nbsp; 2.4.2; & nbsp; PHP & nbsp; 5.4.3; & nbsp; MySql & nbsp; 5.5.24) and run the php program. an error is always reported, I don't know how to solve it. please give me some advice. Thanks for the following source code: & an error is reported when the php program is run after WAMPSERVER is upgraded!
After you upgrade WAMPSERVER to 2.2 (Apache 2.4.2; PHP 5.4.3; MySql 5.5.24) and run the php program, an error is always reported. if you do not know how to solve this problem, please kindly advise. Thanks

The source code for testing is as follows:




Window I









The error screenshot is as follows:
Php wampserver
------ Solution --------------------
That's because the notice of the previous php is blocked by you. after the upgrade, the configuration is restored to the default value, so the notice is enabled again.
------ Solution --------------------
Your variable is not defined
If it turns out to be normal, it may have enabled register globals.
------ Solution --------------------
Php. ini
Change
Error_reporting = E_ALL &~ E_NOTICE &~ E_STRICT

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.