cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
  • Like
Reactions: srkumar1986

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
308
cPanel Access Level
Root Administrator
Hello,

I have perl module contains some functions and i need to access those functions using cpanel uapi in my php ajax calling .

can anyone give me an idea how can i achieve this please.

Thanks in advance.

Rajkumar S
Hi,

Last time I did this, I had to place the module in /usr/local/cpanel/Cpanel/API. Once it was in that directory, I restarted cPanel & WHM. Then I was able to call the functions via uapi. That was a few years ago. It should still work.
 
  • Like
Reactions: srkumar1986