简体   繁体   中英

blank page in php apache centos 6.5

I have a webpage in PHP. When I click on a link, blank page is beeing displayed. No error is there. I already started php errors.

I am using CentOS 6.5, Zend Server CE 5.5, PHP 5.3, Mysql

空白页

phpinfo details

Error log in /var/log/httpd/access_log shows this error

::1 - - [24/Jul/2015:11:20:37 +0530] "GET /AssetTrak/admin/labels.php
HTTP/1.1" 500 - "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"

Add ini_set('error_reporting', E_ALL); to the top of the PHP script that is showing a blank page. The blank page is caused by "White Screen of Death" which is when a page errors out but error reporting has been disabled in PHP. re-enabling it by using the above snippet will have PHP output the exact script error to you in your browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM