【发布时间】:2013-10-21 08:55:59
【问题描述】:
我在没有设置任何环境变量(!)的情况下打开了调用“php”的 CLI(Windows 7 作为管理员)并收到了一些错误消息,描述了 php 无法打开扩展。
例如:
PHP Startup:
bz2: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
另一个人说:
PHP Startup: Unable to load dynamic library "\xampp\php\ext\php_exif.dll" - The specified module was not found.
随后是许多类似的消息。我在位于 D:\ 的 xampp 中运行 PHP,并且 - remember - 尚未设置任何路径变量。我尝试设置它(path-variable)而不影响错误。
我正在运行 PHP 5.3.8
我想知道为什么错误消息中没有显示 Driveletter。这可能是错误的原因吗?
【问题讨论】:
标签: php windows xampp command-line-interface