Jump to content

Errors not giving, just show me blank page.


unnat93

Recommended Posts

Hello,
i just install LAMP server.
wrote simple code

<?php
    #error_reporting(E_ALL);
    #printf "hello";
    print "print_keyword.";
?>

but in browser, it does not show me an error.

i m using linux envionment.

 

plz help.

 

any help would be appriciable.

Assuming that you are browsing a file/page/script with a ".PHP" extension, you could try turning on php error reporting (which you have partially commented out in your example:

 

error_reporting(E_ALL | E_NOTICE);
ini_set('display_errors', '1');

 

Add that after your  php tag.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.