From: jayron_castro at hotmail dot com Operating system: Windows 2003 Server PHP version: 5.0.2 PHP Bug Type: COM related Bug description: Error in loading object COM
Description: ------------ All time that goes to be "instancied" an object "DLL" using filter ISAPI occurs an error of "Access Violation", but the same it is solved using in the server way cgi. Warning: I using IIS 6.0 Descrição do erro em português: Toda vez que vai ser instanciado um objeto DLL usando filtro ISAPI ocorre um erro de violação de acesso, para solucionar o problema foi usado o modo CGI, mas em servidor o CGI é muito pesado. Atenção: Estou usando IIS 6.0 Reproduce code: --------------- <? //Using PHP-CGI: $teste = new COM("JaccGeraCod.cCrip") or die("Error"); echo "Working"; ?> browser out: Working <? //Using PHP5ISAPI: $teste = new COM("JaccGeraCod.cCrip") or die("Error"); echo "Working"; ?> browser out: Access Violation Expected result: ---------------- browser out: Working Actual result: -------------- browser out: Access Violation -- Edit bug report at http://bugs.php.net/?id=30385&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30385&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30385&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30385&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30385&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30385&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30385&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30385&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30385&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30385&r=support Expected behavior: http://bugs.php.net/fix.php?id=30385&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30385&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30385&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30385&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30385&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30385&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30385&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30385&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30385&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30385&r=mysqlcfg