Running a exe file (import.io) through PHP in Ubuntu

拈花ヽ惹草 提交于 2019-12-12 06:05:30

问题


I need to call an installed tool - Import.io using PHP in Ubuntu. Whenever I click on the PHP button it should navigate to import.io tool installed in the system and open import.io. how can I do it?


回答1:


Files ending in .exe are Windows binaries, and won't run on Ubuntu natively. You might be able to get it to run on Wine, a Windows emulator for Linux.

However, since this is import.io, I suspect it would be much easier, and much more reliable, to call their API instead. You can do this with any HTTP library, such as cURL, Guzzle, Pest, etc.



来源:https://stackoverflow.com/questions/29028525/running-a-exe-file-import-io-through-php-in-ubuntu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!