php has encountered an access violation

今天服务器装系统,配置完php环境后连接数据库包php has encountered an access violation错误:

环境:

win2008 R2

php 5.2.9

IIS7

mysql 5.1

采用isapi方式配置

调试很长时间没有解决,最后采用fastcgi方式解决。

时间: 2024-10-25 04:26:31

php has encountered an access violation的相关文章

Laravel 5.4 migrate报错:Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `us ers_email_unique`(`email`))

Laravel 5.4 migrate报错:Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `us     ers_email_unique`(`email`)) public function up() { Schema::create('users', function (Blu

AD09 "Access violation at address 0C241A06 in module 'IntegratedLibrary.DLL" 错误解决办法

regedit-将HKEY_CURRENT_USER\Software\AltiumDesignerWinter09\DesignExplorer\Preferences\IntegratedLibrary\Loaded Libraries下面的所有内容删除,重新打开altium designer添加库即可. AD09 "Access violation at address 0C241A06 in module 'IntegratedLibrary.DLL" 错误解决办法

First-chance exception at 0x782260ec in xxx.exe: 0xC0000005: Access violation

开发的软件可以通过按钮创建子窗体,在win7下测试正常,在winXP下崩溃.于是搜到以下帖子,没有讲到直接解决方法,因为貌似没有直接解决的方式. 通过里边的设置可以捕获异常,然后再分析代码. 原帖地址 'First-chance exception' usually means an exception that has been handled by user code. If you're using the Vosual Studio & the Windows Mobile emulat

当应用出现 access violation at address in module时

Delphi2010和XE10,midas是不同的版本,之前开发的两个系统,基于不同的Delphi版本,经常出现access violation at address in module错误.特别是当midas用的是低版本时,用XE10进行datasnap进行连接时会出现该错误,刚开始不知道为什么,搞了老半天,现在清楚了,以后要注意哦!!!

Access violation at address 004B6031 in module 'navicat.exe'. Read of address 00000004

1.错误描述 2.错误原因 3.解决办法 版权声明:本文为博主原创文章,未经博主允许不得转载. Access violation at address 004B6031 in module 'navicat.exe'. Read of address 00000004

Delphi 在写Ini文件时报错,Access violation at address 774D6EC8 in module 'ntdll.dll' write of address 004044CD

检查代码发现读写Ini文件函数ReadString参数错误导致:如下 节点不能为空. Delphi 在写Ini文件时报错,Access violation at address 774D6EC8 in module 'ntdll.dll' write of address 004044CD

关于错误Access Violation和too many consecutive exceptions 解决方法

关于错误Access Violation和too many consecutive exceptions 解决方法 “如果DLL中用到了DELPHI的string类型,则DLL和主程序中都需要加上ShareMem”.DLL项目加ShareMem这个我知道,但主程序中也要加?这我就不明白了,为什么以前不加的时候没这个问题呢?加就加吧,果然加上后一点问题都没有.唉,真是搞不明白.最后在新建DLL项目时,DELPHI有一段注释给了我答案. library MyDll; { Important note

动态调用DLL函数有时正常,有时报Access violation的异常

动态调用DLL函数有时正常,有时报Access violation的异常 typedef int (add *)(int a,int b); void test() { hInst=LoadLibraryA("aimdtl.dll"); (FARPROC &)add=GetProcAddress(hInst,"add"); add(1,2); } 按这个代码执行,add函数有时OK,有时报Access violation的异常.看到提示,第一反应就是内存异常

You may experience an access violation when you access an STL object through a pointer or reference in a different DLL or EXE

Symptoms When accessing an STL object created in one DLL or EXE through a pointer or reference in a different DLL or EXE, you may experience an access violation or other serious program errors including the appearance of data corruption or data loss.