ID: 30385 Updated by: [EMAIL PROTECTED] Reported By: jayron_castro at hotmail dot com -Status: Feedback +Status: Bogus Bug Type: COM related Operating System: Windows 2003 Server PHP Version: 5.0.2 New Comment:
Don't use ISAPI, it has bugs. Previous Comments: ------------------------------------------------------------------------ [2004-10-11 08:04:14] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2004-10-10 22:58:42] jayron_castro at hotmail dot 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 this bug report at http://bugs.php.net/?id=30385&edit=1