Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
280 views
in Technique[技术] by (71.8m points)

Is there any way to call .dll files in PHP over Linux Platform?

Question : is there any way to call .dll files using php COM class over linux platform?

Description: I need to interact with dll files to access inside the functions. I am successfully register the dll files in windows environment by following below steps.

  1. Xampp installation v3.2.1 php 5.5 (Note: currently using version Xampp installation v3.1.2 php 5.3 need to change new/latest version Xampp installation v3.2.1 php 5.5).

  2. Download php_com_dotnet.dll file from here,http://originaldll.com/file/php_com_dotnet.dll/29343.html and copy downloaded file to folder C:xamppphpext.

  3. DLL need to be configured under xampp parent folder in C:xamppphp php.ini file

  4. Add php_com_dotnet.dll file to windows extension in C:xamppphp php.ini file

  5. Restart the xampp server.

Register DLL file through command prompt:

? Click on start button and in search option type cmd and press enter

? Right click on command prompt and press runasadministrator command

? Type: regsvr32 c:windowssystem32dllfilename.dll press enter

? It shows dll file register successfully message

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

As Linux Platform is different from the windows you have provided equivalent .so file for your purpose check your php.ini properly you got information regarding there.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...