How to debug PHP on Raspbian Apache? - Raspberry Pi Forums


i trying write php page handling stuff on rpi3 running raspbian jessie , apache.
problem getting blank page , no indication of went wrong...
when run php scripts on live webserver @ provider can add following on top of php script , displays line number of error, not on raspbian...

code: select all

<?php ini_set('display_errors', '1');	//uncomment if there problems... 
have tried on rpi3 still silently displays blank page.
other php files display should (because not contain errors...).

please suggest how can make errors appear!
rpi3 sitting on local lan there no security related issues enabling errors display.

try this

code: select all

<?php phpinfo(); ?>
don't miss closing

code: select all

?>
tag.


raspberrypi



Comments