Php Mac OS系统中AMPS的空白页
我在使用AMPS时遇到的唯一问题是在安装或更新后有时会出现空白页。除此之外,这太棒了! 以下是一些处理该问题的提示: 阿帕奇:Php Mac OS系统中AMPS的空白页,php,mysql,apache,Php,Mysql,Apache,我在使用AMPS时遇到的唯一问题是在安装或更新后有时会出现空白页。除此之外,这太棒了! 以下是一些处理该问题的提示: 阿帕奇: sudo apachectl stop sudo /Applications/AMPPS/apache/bin/httpd -k start sudo /Applications/AMPPS/apache/bin/httpd -k restart 当MySQL没有在AMPP上启动时,这可能会有所帮助: 1- Open AMPPS Application -> M
sudo apachectl stop
sudo /Applications/AMPPS/apache/bin/httpd -k start
sudo /Applications/AMPPS/apache/bin/httpd -k restart
当MySQL没有在AMPP上启动时,这可能会有所帮助:
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.
或
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
希望有更多知识的人来编辑这篇文章!
干杯
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