Jump to content
Sign in to follow this  

[PHP] Rimuovere errore Notice

Recommended Posts

a livello di codice PHP:


- @ davanti alle funzioni

- error_reporting


a livello di php.ini (che devi modificare prima di riavviare l'httpd):


error_reporting  =  E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = Off
log_errors_max_len = 1024
ignore_repeated_errors = Off
track_errors = Off



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this