How to eliminate php5 Strict standards errors?

后端 未结 7 1252
后悔当初
后悔当初 2020-12-02 23:40

After upgrading my PHP to 5.4.3 (WAMP server 2.2), my web app made in CakePHP 1.3, is showing the following errors in my index:

Strict standards: Rede

7条回答
  •  青春惊慌失措
    2020-12-02 23:42

    Make sure you've updated the correct php.ini file - if you create a php file in your root directory with the following code

    
    

    and load it in your web browser it will tell you which ini file is being used, in case you missed one.

    It's also possible that an htaccess file is setting that value via the php_flag error_reporting value, which can also be set per directory.

提交回复
热议问题