hello,
I develop on my server LAMP, more precisely in PHP / MySql, I would like to know how to activate the errors by configuring the server apache 2.2 to avoid programming blind.
I work with Debian 8.8 AMD64.
the editor that I use as workspace is kate with syntax highlighting, is there another editor with a debug window ?
1 / how to enable debugging ...
2 / How to access log files ...
Regards
Philippe
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
how to enable debugging with PHP/MySql
Re: how to enable debugging with PHP/MySql
in your php.ini file:
ini_set('display_startup_errors', 1);
ini_set('display_errors', 1);
error_reporting(-1);
ini_set('display_startup_errors', 1);
ini_set('display_errors', 1);
error_reporting(-1);
Re: how to enable debugging with PHP/MySql
Just a question, why use Apache 2.2 when its EoL was six months ago? https://www.apache.org/dist/httpd/Announcement2.2.html
That means your site is likely vulnerable to numerous issues which would be patched in Apache 2.4.
Your site may be a private site on a local network unaccessible from the Internet, in which case using an outdated Apache wouldn't matter.
That means your site is likely vulnerable to numerous issues which would be patched in Apache 2.4.
Your site may be a private site on a local network unaccessible from the Internet, in which case using an outdated Apache wouldn't matter.