dpd20130 2015-10-20 20:32
浏览 22

禁用php 5.4中的严格标准

I'm working on my development environment with the release of PHP Version => 5.4.41-0+deb7u1, while in the production environment I am working with the release of PHP Version => 5.3.3-7+squeeze19.

We made some upgrades and had some problems so we need to leave the production environment with that version. Now, we had to make a big change, and conflicts in our development environment are many, in fact cumbersome. Changes of classes, constructors and static variables.

I do not know much about the subject and that is why I come to you, I am trying to change the value of the php.ini

error_reporting = E_ALL

was formerly

 E_ALL & ~ E_NOTICE & ~ E_STRICT

Then restarted the server but it doesn't work. Is there any way to make this work? Or definitely have to do to make changes everything works.

Maybe it's a silly question, but I'd rather leave the question with the help of people who know more.

thanks beforehand for your help.

  • 写回答

0条回答 默认 最新

    报告相同问题?