If all you want to do is disable these warnings you can set PHP not to display errors when executing. Configuring the ini setting display_errors, giving the value Off or 0 will disable errors being reported to the web brower. If you still want to keep a record of the errors then set:
log_errors = On
error_log = /tmp/php.log
and all errors get recorded to that file.
If all you want to do is disable these warnings you can set PHP not to display errors when executing. Configuring the ini setting display_errors, giving the value Off or 0 will disable errors being reported to the web brower. If you still want to keep a record of the errors then set:
log_errors = On
error_log = /tmp/php.log
and all errors get recorded to that file.