我尝试更改端口,安装旧版本的PHP,然后重新安装MAMP。然而。我找不到解决方案。
此处php_error.log:
#0 /Applications/MAMP/htdocs/bogaziciplatform/nedmin/netting/baglan.php(5): PDO->__construct('mysql:host=loca...', 'root', '123456')
#1 /Applications/MAMP/htdocs/bogaziciplatform/nedmin/netting/islem.php(4): include('/Applications/M...')
#2 {main} thrown in /Applications/MAMP/htdocs/bogaziciplatform/nedmin/netting/baglan.php on line 5