Turning off NOTICE and STRICT messags
Posted by: vsimovic (---.dynamic.sbb.rs)
Date: March 06, 2014 12:03PM

Hello everybody,

i've installed latest wamp server and i am trying for hours to disable NOTICE and STRICT error messages.

I've found the line error_reporting = E_ALL in php.ini in php folder and appache folder and replaced it with:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

Then i restarted all services, but error messages are still appearing.

Can somebody please help me with this? I've tried all kinds of combinations i've found online, but none helped. It's really driving me crazy.

Thank you,

Veljko

Options: ReplyQuote
Re: Turning off NOTICE and STRICT messags
Posted by: vsimovic (---.dynamic.sbb.rs)
Date: March 06, 2014 12:05PM

Just to update the information. I have:
64-bit Wamp ver. 2.4
Appache 2.4.4
PHP 5.4.12
MySQL 5.6.12

Options: ReplyQuote
Re: Turning off NOTICE and STRICT messags
Posted by: Otomatic (Moderator)
Date: March 06, 2014 06:02PM

Hi,

The good php.ini file is Wampmanager->PHP->php.ini

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Turning off NOTICE and STRICT messags
Posted by: RiggsFolly (---.as13285.net)
Date: March 06, 2014 06:04PM

I would have thought that should work.

1. Are you sure you restarted Apache after you changed the php.ini

2. Are you sure you changed the php.ini file using the wampmanager menu system?
wampmanager -> PHP -> php.ini

Otherwise you probably changed \wamp\bin\php\php5.4.12\php.ini and that file is only used by the PHP CLI. Use the menus!

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.