0
我在我的Windows系統中使用wamp,我下載了一個關於在線購物的cms!當我安裝它時,它顯示了許多「嚴格標準」。但是當我使用其他enamriment(例如xampp)顯示沒有錯誤,安裝可以正常運行! 這是WAMP配置錯誤,這讓我非常困惑! 「嚴格標準」是WAMP顯示如下所示:wamp:顯示很多「嚴格標準」
Strict standards: Non-static method ECMall::startup() should not be called statically in D:\wamp\www\ecmall1\install\index.php on line 18
Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\ecmall1\eccore\controller\app.base.php on line 141
我嘗試這樣做,它wokrs嚴格的錯誤!但我的時候在我的PHP腳本中使用error_reporting()函數,它不起作用,它讓我非常困惑! – ChainWay
你在用'error_reporting()'做什麼,記住它會覆蓋你在'php.ini'文件中設置的內容。 – RiggsFolly
我使用error_reporting(0) – ChainWay