ID: 45160 User updated by: php at eklenet dot de Reported By: php at eklenet dot de Status: Open -Bug Type: PDO related +Bug Type: *General Issues Operating System: Windows 2003 Server 32bit PHP Version: 5.2.6 New Comment:
hello, i dont think its a internal problem from PHP. Becouse i need to get my script work, i have made a externel script to fetch data from the database. Here is sample code: ------------------------------------------------------ public function run($sql) { echo " A"; $this->CONNECTION['lastsql']= rawurlencode(base64_encode($sql)); if(substr(strtoupper($sql),0,6)=="INSERT" OR substr(strtoupper($sql),0,6)=="UPDATE") { $type="get_field"; $sql = ($this->CONNECTION['lastsql']); $url = "http://192.168.224.4/bluesheet/sql.php?type=$type&sql=$sql"; $data = file_get_contents($url); } echo " B"; } ------------------------------------------------------ so you see here is no database connection. The Output of the Script is just: PHP has encountered an Access Violation at 01B849C7 A B A B A B A As you see it ends with A and not B so there musst be an internal PHP Problem not related to the Database ! Previous Comments: ------------------------------------------------------------------------ [2008-07-08 07:24:21] php at eklenet dot de now i have tried odbtp. what i get is PHP has encountered an Access Violation at 01B849C7 like with pdo ------------------------------------------------------------------------ [2008-07-07 12:42:03] php at eklenet dot de i have changed to odbc vom pdo_odbc and i got even a similar error: PHP has encountered an Access Violation at 01CBFC71 mybe they use the same base code ? ------------------------------------------------------------------------ [2008-07-07 08:55:45] php at eklenet dot de Have you now all informations to fix this Problem ? ------------------------------------------------------------------------ [2008-06-09 14:25:35] php at eklenet dot de i have modified my script to work on cli. here are the dumps: http://space.eklenet.de/CrashHang_Memory_Report.mht http://space.eklenet.de/CrashHang_Report.mht hope that helps ! ------------------------------------------------------------------------ [2008-06-09 09:27:56] php at eklenet dot de hi, how do i run IIS as a single thread ? i dont found a manual to that. ------------------------------------------------------------------------ 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/45160 -- Edit this bug report at http://bugs.php.net/?id=45160&edit=1