ID: 10521 Updated by: cynic Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: IIS related PHP Version: 4.0.4pl1 Assigned To: Comments: Well, you probably used php.ini-dist for Apache, and php.ini-optimized for IIS. Either way, send further questions to [EMAIL PROTECTED] or [EMAIL PROTECTED] Previous Comments: --------------------------------------------------------------------------- [2001-04-30 05:04:54] [EMAIL PROTECTED] >> I bet the Apache box has error_reporting E_ALL &~ E_NOTICE while the IIS box has error_reporting E_ALL. How can I check this or set it the same as Apache? Both versions of Apache and IIS are the default installations, so nothing to my knowledge has been modified in this area. --------------------------------------------------------------------------- [2001-04-30 03:17:41] [EMAIL PROTECTED] I bet the Apache box has error_reporting E_ALL &~ E_NOTICE while the IIS box has error_reporting E_ALL. RTFM, please. (if this ain't the case, reopen the report) --------------------------------------------------------------------------- [2001-04-27 02:03:00] [EMAIL PROTECTED] The following script works in Apache but not in IIS <? if ($test=="testval") { print("Success"); } ?> Apache treats the variable $test as a null variable but IIS throws a error: Warning: undefined variable test in [script] in line 2 Depending on what follows, it will usually output something like what you were testing for/wanted except that it has the error in front of it. This is with the standard PHP windows installer. CGI version. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10521&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]