PHP is not giving output ?
PHP is showing any error information ?
Recently upgraded my php but I am not getting any output ?

7 June 2004, 10:04 am IST
User Rating: 7.2 (91 votes)

If PHP is not outputting anything or if you think any error infomation should be displayed, but is not then it might be that your display_errors setting may be turned off.

If you have access to php.ini, then locate the entry:

display_errors = On

and make sure it is set to On

In case you don't have access to the php.ini file, you can write the following code on the first line of php file:

<?php ini_set('display_errors', '1'); ?>

If you are still not getting any output, you may also add the following line, just below the above code:

error_reporting(E_ALL);

Rate this knowledge base item


  • 1
    Poor

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
    Great
 
blog comments powered by Disqus

Topics

About

Amit Arora is web developer with expertise in developing eCommerce enabled websites for the businesses.

Contact | Resume

Subscribe to newsletter




Get Firefox

Monitored by Site24x7
Uptime