This is my current preferred dev environment to teach PHP programming with high school students in Australia.
This is for Mac users. Check out my other videos for PC users.
In addition you should also enable error reporting.
1. Locate your php.ini file
In the MAMP control panel, open the Start Page
Click on phpInfo to bring up the server specs page we used to install XDEBUG
Find the line that says "Loaded Configuration File"
Open THAT file
2. Turn OFF your MAMP server
3. Find the line in the php.ini file that says "Display Errors = Off" and change it to On
4. Find the line in the php.ini file that says "Error Reporting = " and make sure it says E_ALL
5. Restart the server.
If you prefer a video to follow, try this one: • Setting display_errors variable in th... .
Nesta página do site você pode assistir ao vídeo on-line Setting up a PHP dev environment on a Mac using VS Code and MAMP, including XDEBUG support/ duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário arpSofDev 23 Março 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 18,954 vezes e gostou like espectadores. Boa visualização!