Heim  >  Artikel  >  Backend-Entwicklung  >  PHP安装的有关问题

PHP安装的有关问题

WBOY
WBOYOriginal
2016-06-13 12:06:06858Durchsuche

PHP安装的问题
是按照
http://blog.sina.com.cn/s/blog_635a5c1a0101khsx.html
这个傻瓜式安装的
环境:win7 64+mysql5.5+Apache2.4.10+PHP5.4.6

当我运行
C:\Users\Administrator>php D:\Apache+PHP\httpd-2.4.10-win64\Apache24\htdocs\razor\web\index.php archive archiveHourly
的时候
出现了
Warning: PHP Startup: Unable to load dynamic library 'D:\Apache+PHP\PHP-5.4.6-Win64\ext\php_ldap.dll' - %1 不是有效的 Win32 应用程序。
 in Unknown on line 0

错误
php_ldap.dll我已经放在ext文件夹下了,网上说ssleay32.dll,libeay32.dll这两个dll,我也放到system32中了,也有说放在apache下的,但是Apache下面已经有了,而且大小不一样,是版本不一样吗?
请问有知道解决方案的吗?


------解决方案--------------------
64位的机器,就用64位的软件。使用32位的软件时需设置兼容方式
------解决方案--------------------
Unable to load dynamic library 'D:\Apache+PHP\PHP-5.4.6-Win64\ext\php_ldap.dll' - %1 不是有效的 Win32 应用程序。
看这个错误提示,你应该是32位系统,而你有了64位的PHP,所以才有这样的错误,重新下个32位的版本的。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn