Fantastico 自动化程度不够

发布于 2024-08-03 06:23:03 字数 99 浏览 3 评论 0原文

我需要通过 php 脚本登录 cPanel 并运行 Fantastico De Luxe 来安装 WordPress。有人知道该怎么做吗? Fantastico 似乎没有附带 API。

From a php script, I need to log into cPanel and run Fantastico De Luxe to install WordPress. Anyone know how to do this? Doesn't look like Fantastico comes with an API.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情话已封尘 2024-08-10 06:23:03

您可以使用 php curl 并模拟调用它的浏览器,调用 cPanel url,解析响应,然后向其 POST/GET 相应的登录数据,然后使用必须在登录中返回的会话信息检索 Wordpress 安装页面调用等。(?)不过,正如 Matthew 指出的那样,直接使用 Fantastico 会更容易。

或者,您甚至可以拥有 Wordpress 安装代码并自行运行安装,而不是依赖 Fantastico 并在其间添加层。

You could use php curl and emulate a browser calling it, call the cPanel url, parse the responses and then POST/GET the corresponding login data to it, then retrieve the Wordpress install page using the session info that must have been returned in the login call etc. (?) Though, as Matthew pointed out, it would be easier to just use Fantastico directly.

Or you could even have the Wordpress install code and run the install yourself instead of relying on Fantastico and adding layers in between.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文