Closed taono closed 9 years ago
<?php
// Option1: Show all information, defaults to INFO_ALL
phpinfo();
// Option2: Shows The configuration line, php.ini location, build date,
// Web Server, System and more.
phpinfo(INFO_GENERAL);
?>
Todo Let's add a phpinfo.php
script to the simplephp project.
This will allow us to conveniently run the script and see our php configs as needed.
Put in: /simplephp/skeleton
Where is everyone? Have you guys stopped meeting?
I have been traveling @zoe-1, and there is generally no internet access for me. our meeting will resume next week.
I used ini_set( 'error_display", 1); & error_reporting ( E-ALL | E-STRICT); to enable php error report. It doesn't work. Then I tried to enable error report through editing php.ini file, but I couldn't find it. Ullman's book chapter 3 & appendix A: installation and configuration has a section about PHP configuration but it's not clear (can't find php.ini. file). Help is needed to enable error report. Thanks!