php5.3 解決警告:Notice: Undefined index: argc in

新安裝的wamp2.1e版本默認安裝了php5.3的版本。

之前可以正常顯示的頁面上方,出現了很多警告信息:

Notice: Undefined index: argc in

Notice: Undefined index: argv in

 

解決的辦法:

休息php.ini文件

register_argc_argv = On

error_reporting  =  E_ALL & ~E_NOTICE

 

 

重新啓動所有的服務,警告就不在顯示了;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章