ID: 27750 User updated by: richard dot quadling at carval dot co dot uk Reported By: richard dot quadling at carval dot co dot uk Status: Open Bug Type: Reproducible crash Operating System: Windows XP Pro SP1 PHP Version: 4.3.5 New Comment:
By removing the ZEND Optimizer entries in the PHP.INI file, I have removed the problem. I have copied my PHP.INI file from C:\WINDOWS to C:\PHP\CLI and removed the ZEND optimizer section from the new INI file. Then, I've changed the "Open" command from ... C:\PHP\CLI\PHP.EXE "%1" to C:\PHP\CLI\PHP.EXE -c C:\PHP\CLI\PHP.INI "%1" I am no longer receiving any errors. Regards, Richard Quadling. Previous Comments: ------------------------------------------------------------------------ [2004-03-30 03:28:42] richard dot quadling at carval dot co dot uk My CLI issue has nothing to do with the printer extension. My PHP.INI has no extensions enabled. ;Windows Extensions ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. ; ;extension=php_bz2.dll ;extension=php_cpdf.dll ;extension=php_crack.dll ;extension=php_curl.dll ;extension=php_db.dll ;extension=php_dba.dll ;extension=php_dbase.dll ;extension=php_dbx.dll ;extension=php_domxml.dll ;extension=php_exif.dll ;extension=php_fdf.dll ;extension=php_filepro.dll ;extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_hyperwave.dll ;extension=php_iconv.dll ;extension=php_ifx.dll ;extension=php_iisfunc.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_java.dll ;extension=php_ldap.dll ;extension=php_mbstring.dll ;extension=php_mcrypt.dll ;extension=php_mhash.dll ;extension=php_mime_magic.dll ;extension=php_ming.dll ;extension=php_mssql.dll ;extension=php_msql.dll ;extension=php_oci8.dll ;extension=php_openssl.dll ;extension=php_oracle.dll ;extension=php_pdf.dll ;extension=php_pgsql.dll ;extension=php_printer.dll ;extension=php_shmop.dll ;extension=php_snmp.dll ;extension=php_sockets.dll ;extension=php_sybase_ct.dll ;extension=php_w32api.dll ;extension=php_xmlrpc.dll ;extension=php_xslt.dll ;extension=php_yaz.dll ;extension=php_zip.dll All files in the c:\PHP directory are from the zip version of 4.3.5. (25/03/2004 3:33pm) The following extensions were NOT updated as part of this release: C:\PHP\extensions\php_iisfunc.dll C:\PHP\extensions\php_printer.dll C:\PHP\extensions\php_iconv.dll These extensions are NOT enabled in PHP.INI and I have removed them from the extensions directory. I am STILL getting this problem even with the following script. <?php echo "Hello"; ?> As this script is NOT using ANY extensions and I am NOT loading ANY extensions in my PHP.INI file, I can only conclude that this IS an issue with PHP and NOT any PECL extension. The above script does generate a different offset. AppName: php.exe AppVer: 4.3.5.5 ModName: unknown ModVer: 0.0.0.0 Offset: 00ac41f0 Even ... <?php ?> generates the same error. I am executing the PHP files via the command line. I have added PHP to PATHEXT (which allows PHP files to be executed like a BAT/COM/EXE file. I have removed all the windows scripting extensions (VBS/VBE/JS/JSE/WSF/WSH). Using Windows Explorer|Tools|Folder Options|File Types|PHP, the default method of Run is set to run C:\PHP\CLI\PHP.EXE "%1" This allows me to simply type the name of script at the command line and have the output (if any) appear on the console. The scripts I run in this way tend NOT to be used within a webserver and are normally scheduled using windows Tasks. This worked prior to V4.3.5 and I have swapped to V4.3.4 (rename C:\PHP -> C:\PHP_435 and C:\PHP_434 -> C:\PHP) and all is well again. Change to 4.3.5 and the bug returns. Regards, Richard Quadling. ------------------------------------------------------------------------ [2004-03-29 16:35:10] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. printer extension is not a standard PHP extension, it is part of the PECL repository. Please report the bug on http://pecl.php.net/bugs/ where all PECL bugs are addressed. ------------------------------------------------------------------------ [2004-03-29 16:05:48] mike at microspread dot com I used the windows installer to install on top of 4.3.3. How would I "remove all traces?" I use the windows installer default install extensions and DMITRI'S php_dbg.dll. OK, using your suggestions, I have narrowed it to one extention causing the problem. When I comment out the php_printer.dll extension, then I don't get the crash. Any thoughts on what issue that dll might have? ------------------------------------------------------------------------ [2004-03-29 15:15:15] [EMAIL PROTECTED] I cannot reproduce this. Please make sure that you have removed traces of the old php install. Also do you have any extensions enabled in your php.ini? Try without any extensions. ------------------------------------------------------------------------ [2004-03-29 14:31:13] mike at microspread dot com I got the error when running phpinfo.php. Seems that I get a valid page back, but then get this "PHP Script Interpreter" error. When I click on more info, it says... szAppName: php.exe szAppVer: 4.3.5.5 szModName: php4ts.dll szModVer: 4.3.5.5 offset: 000c0674 There are also the same two attached files, if required I can reproduce and send them. Hope this helps ------------------------------------------------------------------------ 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/27750 -- Edit this bug report at http://bugs.php.net/?id=27750&edit=1