Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/234.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Mac OS系统中AMPS的空白页_Php_Mysql_Apache - Fatal编程技术网

Php Mac OS系统中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

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