Mac OS系统中AMPPS的空白页面

时间:2014-05-13 13:45:52

标签: php mysql apache

我使用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

希望有更多知识渊博的人编辑这篇文章! 干杯!

0 个答案:

没有答案