1. First step: modify the php.ini file: Open/Applications/MAMP/bin/PHP/{your PHP version}/conf/PHP ini file
find display_errors = Off (about 277 lines of location), to establish display_errors = On and find the error_reporting = E_ALL (about 270 lines of position, there are three kinds of value type, According to their own needs to set)
2. The second step is to set the Log errors option of mamp pro:
Main window-& gt; php-> Log errors selects to_screen so that the error prompts
on the browser to restart the service.
Read More:
- Zend studio HTML error prompt close, PHP “error prompt” open and close the correct way
- Instability of Mac OS finder
- Solution to prompt resource error when opening DAZ studio
- Installing nmap on Mac OS
- The solution of GDB code designed problem in Mac OS X
- Configuring OpenGL environment on Mac OS
- Solution to prompt “error opening terminal: xterm.” when making menuconfig
- Big hole in using OpenGL on Mac OS
- How to uninstall CUDA driver and toolkit in Mac OS X?
- Error: Command ‘/ usr / bin / clang’ failed with exit status 1 solution for Mac OS installation
- Open vs code through terminal using code command in Mac OS
- sys.path.append(), os.path.exists(), os.path.join() and os.makedirs() meaning
- To solve the problem of “failed to load vmmr0. R0” (Verr) of VirtualBox under Mac OS X_ SUPLIB_ WORLD_ Writable) “error
- Mac php7.4.13 using PECL installation extension to report error
- Mac running nltk.download () prompt certificate verity failed
- Mac OS error in make pycaffe times failure error:’python.h’file not found resolved
- About the problem of calling tools library by running Python program under Mac OS X, modulenotfoundererror: no module named ‘tools‘
- PHP link database error PHP_ network_ getaddresses: getaddrinfo failed: Name or service not known
- PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[08004] [1040] Too many connections
- After upgrading php7, PHP program prompts an error: operator not supported for strings in causes and Solutions