I can't change the error types reported and displayed by php.
Posted by: Dragos (---.workpage.ro)
Date: May 07, 2024 07:55AM

Hello
I use the final wamp 64 configuration (see in the signature) and I encounter a problem related to the fact that I cannot change which errors php displays. I made the settings in php.ini:

; [php.net]
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

The same settings are made in all php.ini files from the php versions used.
You can see my settings in the 2 images that you can download by following this link:
[mega.nz]

What can I do to correct this problem? I mention that I tried to change the php versions, restart the server, etc.
Thank you !!!

===========================
thank you,
Dragos
===========================
I use:
windows 10 x64 bit
wampserver 3.3.5 (64bit)
php 8.3.6
mysql 8.4.0
phpmyadmin 5.2.1
apache 2.4.59
MariaDB 11.3.2

Options: ReplyQuote
Re: I can't change the error types reported and displayed by php.
Posted by: Otomatic (Moderator)
Date: May 07, 2024 09:38AM

Hi,

The php.ini file is for PHP used in FCGI mode.

phpForApache.ini is for PHP used as an Apache module.

You may also need to disable xDebug.

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

Options: ReplyQuote
Re: I can't change the error types reported and displayed by php.
Posted by: Dragos (---.workpage.ro)
Date: May 08, 2024 07:31AM

Thank you very much!!! Have a nice day !!!
Realy work!!!!

===========================
thank you,
Dragos
===========================
I use:
windows 10 x64 bit
wampserver 3.3.5 (64bit)
php 8.3.6
mysql 8.4.0
phpmyadmin 5.2.1
apache 2.4.59
MariaDB 11.3.2

Options: ReplyQuote


Sorry, only registered users may post in this forum.