I have inherited an big existing PHP application (website actually) that runs on Apache.
My problem is that there is only the code which is a bit … tangled and I know there is a lot of errors code.
I would like to have/build a tool that can call all URLs (or scripts) of my web site and detect if there is exception or errors?
Do you know some kind of lead to do this?
turn on error_reporting in php.ini
point wget to the website and ask to recursively download everything:
wget -r http://your-url
grep PHP Warnings, Notices and Errors in the output.