Please register here.
On a Mac with just installed MAMP trying to learn php. When I make a minor error, say forget the closing ; I get a general error:
This page isn’t working
localhost is currently unable to handle this request.
HTTP ERROR 500
Not sure where to go to generate more specific errors.
Tried adding some ini_set commands to set error_reporting(E_ALL) at the beginning of my first practice file with no Joy.
Do I need an htaccess file or what.
Everything was installed by defaults and error free code works fine.
One needs to find it and change it to On.
On my Mac, which took the default installation, it is located at:
where the php version you are running can be found with phpinfo() and may differ from mine.
It seems this file has moved around quite a bit with the different versions.
Once the value is changed to ON be sure to cycle the MAMP server with STOP then START.
Now to keep learning PHP.......