通过 Plesk API 在子域中自动安装 Wordpress [英] Autoinstallation Wordpress by Plesk API in subdomain

查看:19
本文介绍了通过 Plesk API 在子域中自动安装 Wordpress的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的客户希望我创建一个简单"的脚本(用 PHP).

My client wants me to create a "simple" script (in PHP).

他想用域名、子域名和博客标题填写表单.该脚本应为每个域创建子域并在那里自动安装 WordPress.

He wants to fill the form with domain names, subdomain names, and blog titles. The script should create subdomains for each domain and automatically install WordPress there.

使用 Plesk API 创建子域很容易,但是当我想安装 WordPress 时会出现问题.虽然有自动安装程序,但我在 API 中找不到.

Creating subdomains is easy using the Plesk API, but the problem occurs when I want to install WordPress. Although there is an autoinstaller, I can't find it in the API.

创建子域时,我为它填写了 FTP 登录名和密码,然后我就可以通过 FTP 连接并上传 WordPress 文件.自动执行此操作的任何建议?该脚本可以在我安装了 Plesk 的客户端服务器上运行.

When creating a subdomain, I fill in the FTP login and password for it, and I can then connect over FTP and upload WordPress files. Any suggestions for doing this automatically? The script may work on my client's server where Plesk is installed.

推荐答案

如果可以从 APS Catalog 获取 wordpress,您应该使用 Plesk API 将应用程序安装到 webspace/子域.了解有关 Plesk API 的更多信息

if it is ok to get wordpress from APS Catalog, you should use Plesk API for installing the applacation to webspace/subdomain. Learn more about Plesk API

http://download1.parallels.com/Plesk/PP10/10.1.1/Doc/en-US/online/plesk-api-rpc/index.htm

这篇关于通过 Plesk API 在子域中自动安装 Wordpress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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