LAMP的空白页

时间:2014-09-22 07:48:44

标签: php apache

好吧,多年来一直在问这个问题,但我仍然无法让它发挥作用。

我想访问我的yourls应用程序 - > http://app.sevendats.com/yourls/admin/ 正如你所看到的,它不会起作用;空白页。如何显示错误?或者在php_error.log中看到它?

配置太长了,所以我将它们联系起来:

phpinfo() - > http://sevendats.com/phpinfo.php

php.ini - > http://sevendats.com/php.ini

httpd.conf - > http://sevendats.com/httpd.conf

我的/var/log/php_errors.log有chmod 777和chown apache:apache

非常感谢!

1 个答案:

答案 0 :(得分:0)

在yourls-app的index.php文件中,在打开php标记

后立即设置
error_reporting(E_ALL);
ini_set('display_errors', 1);