Creating cPanel CGI Scripts
CGI scripts can be very useful when you need more flexibility than cPanel's other integration methods allow. While cPanel CGI scripts will work without API access, you will need to use LiveAPI system
if you wish to access cPanel API functions using a CGI script.
The LiveAPI system allows you to open a socket to the cPanel binary (
), allowing you to make API 1 and API 2 calls via a CGI script. At this time, we do not provide a LiveAPI library for CGI scripts.
There is no special procedure to create a cPanel CGI script. Simply place your CGI script at
The CGI script must be owned by the root
user with file permissions of 0755
Topic revision: r4 - 05 Dec 2011 - 16:27:59 - Main.JustinSchaefer
AllDocumentation/AutomationIntegration.IntegrationCgiScripts moved from Sandbox.IntegrationCgiScripts on 14 Apr 2010 - 20:53 by Main.JustinSchaefer