简体   繁体   English

无法在Windows x64上为PHP安装WSO2 — PHP启动:无法加载动态库“ ext \\ wsf.dll”

[英]Can't install WSO2 for PHP on Windows x64 — PHP Startup: Unable to load dynamic library 'ext\wsf.dll'

I think I have followed the installation instructions, but obviously I have missed something. 我想我已经按照安装说明进行了操作,但是显然我错过了一些东西。 Basically, with the DLL in the php.ini file, I get: 基本上,使用php.ini文件中的DLL,我得到:

PHP Startup: Unable to load dynamic library 'ext\\wsf.dll' PHP启动:无法加载动态库“ ext \\ wsf.dll”

Without it, all starts fine. 没有它,一切都会开始。 Here's some highlights from phpinfo: 以下是phpinfo的一些亮点:

PHP Version 5.4.6

extension_dirext ext ext

include_path: .;c:\php\includes;C:\PHP\wso2-wsf-php-bin-2.1.0-win32\scripts

Path : 路径:

c:\php;C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib;c:\php\ext;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\Windows Live\Shared;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\idmu\common;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;



WSFC_HOME : C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c 

From the php.ini:
[wsf] 
wsf.home="C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c" 
wsf.log_path="C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\logs\" 
wsf.log_level=4 

wsf.rm_db_dir="C:\windows\temp\"

I've also watched the process while trying to start PHP in Process Monitor. 在尝试在Process Monitor中启动PHP时,我也看到了该过程。 I see c:\\php\\ext\\wsf.dll loaded. 我看到c:\\ php \\ ext \\ wsf.dll已加载。 Then it starts down a list of dependencies, looking along the path and finding most of them in the lib folder. 然后,它开始列出依赖项列表,沿着路径查找并在lib文件夹中找到大多数依赖项。

C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\axutil.dll
C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\axis2_engine.dll
C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\axiom.dll
C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\axis2_parser.dll
C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\guththila.dll
C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\neethi.dll
C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\rampart.dll
C:\Windows\SysWOW64\libeay32.dll
C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\neethi_util.dll
C:\PHP\wso2-wsf-php-bin-2.1.0-win32\wsf_c\lib\sandesha2_client.dll

writes to the error log: 写入错误日志:

[12-Sep-2012 12:48:12 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'ext\wsf.dll' - The specified procedure could not be found. in Unknown on line 0

Continues: 继续:

C:\PHP\ext\php_xsl.dll

And the last thing I see is some failed attempts at reading registry keys that are not there, the Per Directory Values Key is what it's after. 我看到的最后一件事是尝试读取注册表项失败的尝试,但失败的原因是Per Directory Values Key。

Suggestions? 有什么建议吗?

I am afraid wso2 for PHP is not compatible with PHP 5.4 I tried to compile wso2 extension for PHP on linux and succeeded only with PHP 5.3. 恐怕wso2 for PHP与PHP 5.4不兼容我试图在Linux上为PHP编译wso2扩展,仅在PHP 5.3上成功。 There is the same issue for windows probably. Windows可能存在相同的问题。

You can try to downgrade your PHP to version 5.3 and check if it'll work in this case. 您可以尝试将PHP降级到5.3版,并检查在这种情况下是否可以使用。

I should also warn you not to use this extension in production because of the following reasons: 我还应警告您,由于以下原因,请勿在生产中使用此扩展名:

  • the latest commit to their repo was made almost a year ago 他们回购协议的最新承诺是在大约一年前做出的
  • there is no progress in their JIRA either for about a year JIRA大约一年都没有进展
  • the person who is set as a project manager for this project in jira seems to work on another project right now 在jira担任此项目的项目经理的人现在似乎正在从事另一个项目
  • they are not responding to bug report in jira 他们没有回应吉拉的错误报告
  • this extension has known stability issues on linux (check stackoverflow or their jira with keyworkds "wso2 php segmentation fault") 此扩展在Linux上存在已知的稳定性问题(使用keyworkds“ wso2 php segmentation fault”检查stackoverflow或它们的jira)

On the recent project we are also supposed to use wso2 php extension, but after some research we see that this extension is unstable and not supported anymore. 在最近的项目中,我们也应该使用wso2 php扩展名,但是经过一些研究,我们发现此扩展名不稳定并且不再受支持。 Unfortunately, for now we do not know what to use instead and looking for some other solutions. 不幸的是,目前我们不知道该用什么来寻找其他解决方案。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到Xampp的WSO2(wsf.dll)文件 - Can not find WSO2(wsf.dll) file for Xampp PHP 警告 PHP 启动无法加载动态库 php_pdo_sqlsrv_7_ts_x64.dll - PHP Warning PHP Startup Unable to load dynamic library php_pdo_sqlsrv_7_ts_x64.dll PHP启动:无法加载动态库'C:\\\\ xampp \\\\ php \\\\ ext \\\\ php_sqlsrv_7_nts.dll' - PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_sqlsrv_7_nts.dll' 如何修复 PHP 警告:PHP 启动:无法加载动态库 'ext\\\\php_curl.dll'? - How to fix PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_curl.dll'? PHP启动:无法在Windows上加载动态库 - PHP Startup: Unable to load dynamic library on Windows “Laragon”警告:PHP 启动:无法加载动态库“intl”(已尝试:C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext\intl - “Laragon” Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext\intl PHP警告:PHP启动:无法加载动态库'\\ xampp \\ php \\ ext \\ php_mailparse.dll' - 找不到指定的模块 - PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_mailparse.dll' - The specified module could not be found PHP启动:无法加载动态库'C:\\ Program Files(x86)\\ PHP \\ v5.6 \\ ext \\ php_sqlsrv_55_ts.dll - PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\v5.6\ext\php_sqlsrv_55_ts.dll PHP启动:无法加载动态库'D:\\ xampp \\ php \\ ext \\ php_mongo.dll'-找不到指定的模块 - Php Startup : Unable to load dynamic library 'D:\xampp\php\ext\php_mongo.dll ' - The specified module could not be found PHP 启动:无法加载动态库 'C:\\xampp\\php\\ext\\php_oci8_12c.dll' - 找不到指定的程序 - PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8_12c.dll' - The specified procedure could not be found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM