在Ubuntu中通过PHP运行exe文件(import.io) [英] Running a exe file (import.io) through PHP in Ubuntu

查看:90
本文介绍了在Ubuntu中通过PHP运行exe文件(import.io)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Ubuntu中使用PHP调用已安装的工具-Import.io.每当我单击PHP按钮时,它都应导航到系统中安装的import.io工具并打开import.io.我该怎么办?

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?

推荐答案

.exe结尾的文件是Windows二进制文件,无法在Ubuntu上本地运行.您也许可以使其在Wine(一种用于Linux的Windows模拟器)上运行.

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.

但是,由于这是import.io,所以我认为调用它们的API会容易得多,也更加可靠.您可以使用任何HTTP库(例如cURL,Guzzle,Pest等)执行此操作.

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.

这篇关于在Ubuntu中通过PHP运行exe文件(import.io)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆