unnat93 Posted September 3, 2014 Share Posted September 3, 2014 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. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 3, 2014 Share Posted September 3, 2014 what linux distro are you using? Quote Link to comment Share on other sites More sharing options...
ginerjm Posted September 3, 2014 Share Posted September 3, 2014 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.