我试图将一个站点从Windows XP/PHP5.2.0/MySQL5.5.8配置迁移到Windows Server 2008/PHP5.3.8/MySQL5.5.8之一。Ldap错误500问题
数据库和index.php页面正常工作。但对于登录我使用ldap_connect来通过。这是当我得到错误500.
当我做通常phpinfo();
我看到ldap模块没有加载。很好,我只需编辑我的php.ini
文件,取消引用extension_dir = "ext"
并将extension=php_ldap.dll
添加到它。
但是,因为我重新启动我的Apache服务器崩溃将此项添加到事件日志(我翻译它自己,因为它是在法国):
Name of the failing application httpd.exe, version : 2.2.21.0, timestamp : 0x4e6a3015
Name of the failing module : php5ts.dll, version : 5.3.4.0, timestamp : 0x4d014bae
Exception Code : 0xc0000005
Error offset : 0x000e837c
Failling Process ID : 0x7b8
Starting time of failing application : 0x01ccd1405a22cca2
Path to the faulty application : C:\dev\tools\Apache2.2\bin\httpd.exe
Path to the faulty module: C:\dev\tools\PHP\php5ts.dll
Report ID : fa7f9585-3d37-11e1-84f3-005056bf005e
,我无法找到一个方法来解决从我的Windows XP导入PHP版本并获得最新的5.3.9或更高版本5.2.0,似乎没有任何工作。
我已经看到在Windows上的php.ini是在C:\ WINDOWS文件夹,我把一个副本在那里,但PHP似乎并没有使用它,因为它总是使用我在PHP中的修改.ini在PHP文件夹中。
您是否验证过a)文件'php_ldap.dll'存在于'ext'目录中,并且b)'ext'目录是否在'%PATH%'中? – DaveRandom 2012-01-19 23:25:27