ID: 44708 Updated by: [EMAIL PROTECTED] Reported By: pinnwilliam at yahoo dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Windows XP PHP Version: 5.2.5 Assigned To: fb-req-jani New Comment:
You need to put a file called "php.ini" in c:\windows\ This is not any bug, so please ask further support questions elsewhere. Previous Comments: ------------------------------------------------------------------------ [2008-04-13 05:13:59] pinnwilliam at yahoo dot com The path for php.ini is C:\WINDOWS\php.ini. I ran the phpinfo() function. The path for php.ini appears to be correct. However, the phpinfo output says, "Loaded Configuration File: (none)." How do I get php.ini to load, or get phpinfo() to read it and display it? ------------------------------------------------------------------------ [2008-04-12 22:28:29] [EMAIL PROTECTED] First of all: make sure your php.ini file is actually loaded. "display_errors" is On by default (IIRC) so if no php.ini (or wrong!) is loaded you'll see the errors. To check what php.ini was used: <?php phpinfo(); ?> and there's the information in the first block. Path where it's looked for and below that what file exactly was loaded. ------------------------------------------------------------------------ [2008-04-12 21:13:00] pinnwilliam at yahoo dot com Description: ------------ I am using Apache server 2.2 and PHP 5. I was able to turn on "display errors" in the php.ini file, but when I attemped to shut "display errors" off, i.e., "display_errors = Off," errors still display on the .php files. I have restarted the server and computer. Doing these things does not solve the problem. Reproduce code: --------------- display_errors = Off Expected result: ---------------- Errors won't display on the .php page. Actual result: -------------- Errors continue to show on the .php page. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44708&edit=1