gpt4 book ai didi

php - 是否可以通过 PHP 为 WHM 编写插件?

转载 作者:太空狗 更新时间:2023-10-29 12:21:15 25 4
gpt4 key购买 nike

我想为 WHM 编写一个插件,我是一名 PHP 开发人员和 Perl 初学者,所以我问是否可以用 PHP 而不是 Perl 制作插件?

我试过了,但问题是 php 中处理命令行的重要函数在 php.ini 文件中被禁用,而 safe_mode on 是另一个问题,所以有没有什么方法可以避免在使用 php 时进行 php.ini 配置命令行?

谢谢

最佳答案

cPanel's official tWiki makes no mention to anything other than Perl :

The most powerful way of integrating your custom applications with cPanel is by writing a Perl module. Using this integration method, you can access cPanel's API systems without using the XML or JSON API, and without using or tags. Your application will also process and run much faster.

可以安全地假设您不能使用 Perl 以外的任何东西通过标准模块系统连接到 cPanel/WHM 系统。

关于php - 是否可以通过 PHP 为 WHM 编写插件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7296984/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com