ID: 30760 Updated by: [EMAIL PROTECTED] Reported By: Claus-Werner dot Lermen at zf dot com -Status: Verified +Status: Assigned Bug Type: IIS related Operating System: Windows 2000/2003 PHP Version: 5CVS, 4CVS (2005-04-30) -Assigned To: +Assigned To: zeev New Comment:
Zeev, looks like you made E_CORE_WARNINGS to cause these messageboxes to popup whatever you have set your error_reporting, display_errors, etc. to.. Previous Comments: ------------------------------------------------------------------------ [2005-03-17 10:55:02] Claus-Werner dot Lermen at zf dot com display_startup_error = off but the behaviour is the same no matter what the value of this variable is! ------------------------------------------------------------------------ [2005-03-16 01:30:47] [EMAIL PROTECTED] Do you have "display_startup_errors" ini option on? ------------------------------------------------------------------------ [2005-02-11 11:59:40] Claus-Werner dot Lermen at zf dot com the latest snapshot does not solve the problem: php stills hangs when an extension cannot be loaded. When php.exe is called from the commandline the messagebox still pops up, even when I disable the E_CORE_WARNING. php is normally running in the background, therefore a messagebox should never be used - any message should be written to a logfile! ------------------------------------------------------------------------ [2005-02-11 06:16:54] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2005-01-04 11:22:56] programmer at bardware dot de Hi, I'm a PHP user too, I can only tell from my experience and of how I understand the sources of PHP. In the PHP source-distribution there is a file main.c It reads: if (!module_initialized || PG(log_errors)) { char *log_buffer; #ifdef PHP_WIN32 if (type==E_CORE_ERROR || type==E_CORE_WARNING) { MessageBox(NULL, buffer, error_type_str, MB_OK|ZEND_SERVICE_MB_STYLE); } #endif "Unable to load dynamic library..." is a CORE_WARNING according to what I see in the log. That means - according to my understanding of this code - if you don't log or display CORE_WARNINGs the messagebox should not appear. Try to set error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR in the PHP.ini I don't understand why the PHP-developers decided to pop up a messagebox even if you decided to only log errors and warnings. I understand your problem because I wanted to restart the Apache-Server after updating the PHP-version through a Win2K-Terminal-Session and had to go to the physical webserver though, because the MessageBoxes are shown on Windowstation 0 and not on the very console created for my Terminal-Session. Best wishes and happy new year, Bernhard ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30760 -- Edit this bug report at http://bugs.php.net/?id=30760&edit=1