我使用AMPPS遇到的唯一问题是有时会在安装或更新后获取空白页。除此之外很棒! 以下是一些处理这个问题的提示:
的Apache:
sudo apachectl stop
sudo /Applications/AMPPS/apache/bin/httpd -k start
sudo /Applications/AMPPS/apache/bin/httpd -k restart
当MySQL没有在AMPPS上启动时,这可能会有所帮助:
1- Open AMPPS Application -> MySQL Tab -> Configuration.
2- In [mysqld] section, add the following line:
innodb_force_recovery = 1
3- Save the file and try starting MySQL
4- Remove that line which you just added and Save.
或
"/Applications/AMPPS/php/bin/php" -c "/Applications/AMPPS/php/etc/php.ini" "/Applications/AMPPS/ampps/softaculous/enduser/install.php"
"/Applications/AMPPS/php/bin/php" -c "/Applications/AMPPS/php/etc/php.ini" "/Applications/AMPPS/ampps/softaculous/cron.php"
PhP错误:
1- Go to PhP tab -> PhP Extension
2- Enable those extensions you need for your codes one by one and test it (e.g. mysql.so, mysqli.so, ctype.so, dba.so, pdo_mysql.so)
3- Restart Apache and MySQL
希望有更多知识渊博的人编辑这篇文章! 干杯!