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