cPanel Lang PHP API

The LangPHP module for UAPI.

GitHub OpenAPI

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /LangPHP/php_get_domain_handler Get a domain's PHP handler · Return PHP version's handler #
Ask an LLM
“Which PHP handler is a domain using?”
“Can I check the PHP handler for a single domain?”
Tell an agent
Get the PHP handler for {type} on {vhost}.
Show the {type} PHP handler for {vhost}.
GET /LangPHP/php_get_impacted_domains List domains sharing a PHP config · Return domains that shared PHP configuration #
Ask an LLM
“Which domains use the same PHP version as a given domain?”
“Can I find domains that inherit the system default PHP version?”
Tell an agent
List domains that share the PHP configuration of {domain}.
Find domains inheriting the system default PHP version.
GET /LangPHP/php_get_installed_versions List installed PHP versions · Return installed PHP versions #
Ask an LLM
“What PHP versions are installed on the server?”
“Which PHP versions can I choose for a domain?”
Tell an agent
List all installed PHP versions.
Show the PHP versions available on this server.
GET /LangPHP/php_get_system_default_version Get the system default PHP version · Return default PHP version #
Ask an LLM
“What PHP version does the server default to?”
“Which PHP version does a new domain get by default?”
Tell an agent
Get the system default PHP version.
Show the server's default PHP version.
GET /LangPHP/php_get_vhost_versions Get a virtual host's PHP version · Return virtual host's PHP version #
Ask an LLM
“What PHP version is a virtual host running?”
“Can I check the PHP version of one domain?”
Tell an agent
Get the PHP version for {vhost}.
Show the PHP version of virtual host {vhost}.
GET /LangPHP/php_ini_get_user_basic_directives Get a virtual host's basic PHP directives · Return basic PHP directives #
Ask an LLM
“Which basic PHP directives are set for a virtual host?”
“Can I read the basic PHP settings for a domain?”
Tell an agent
Get the basic PHP directives for {type} on {vhost}.
Show basic PHP settings for {type} of {vhost}.
GET /LangPHP/php_ini_get_user_content Get a virtual host's php.ini content · Return virtual host's php.ini content #
Ask an LLM
“What is in a virtual host's php.ini file?”
“Can I read the raw PHP configuration for a domain?”
Tell an agent
Get the php.ini content for {type} on {vhost}.
Show the raw PHP settings of {type} for {vhost}.
GET /LangPHP/php_ini_get_user_paths Get php.ini file paths · Return php.ini file paths #
Ask an LLM
“Where are the php.ini files for my domains located?”
“What are the paths to the user and virtual host php.ini files?”
Tell an agent
List the php.ini file paths.
Show where the user and virtual host php.ini files are.
GET /LangPHP/php_ini_set_user_basic_directives Set basic PHP directives for a virtual host · Update basic PHP directives #
Ask an LLM
“Can I change a basic PHP directive for a virtual host?”
“How do I set memory_limit or upload_max_filesize for a domain?”
Tell an agent
Set {directive} for {type} on {vhost}.
Update the basic PHP directive {directive} on {type} of {vhost}.
GET /LangPHP/php_ini_set_user_content Replace a virtual host's php.ini content · Update virtual host's php.ini content #
Ask an LLM
“Can I overwrite a virtual host's php.ini file entirely?”
“How do I replace the PHP configuration of a domain with new content?”
Tell an agent
Replace the php.ini content of {type} on {vhost} with {content}.
Overwrite the PHP settings of {type} for {vhost} with {content}.
GET /LangPHP/php_set_vhost_versions Set a virtual host's PHP version · Update virtual host's PHP version #
Ask an LLM
“Can I change the PHP version a virtual host runs?”
“How do I upgrade one domain to PHP 8.4?”
Tell an agent
Set {vhost} to PHP version {version}.
Upgrade virtual host {vhost} to PHP {version}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cpanel:cpanel-langphp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cpanel-langphp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: cs@cpanel.net
    name: WebPros International, LLC
    url: https://cpanel.net/support/
  description: UAPI accesses the cPanel interface's features. Use this API to access and modify cPanel account data and settings.
  license:
    name: cPanel License
    url: https://cpanel.net/legal-notices/
  termsOfService: https://cpanel.net/legal-notices/
  title: cPanel U Lang PHP API
  version: 11.137.9999.106
  x-api-evangelist-provenance: 'Harvested verbatim from cPanel''s developer portal on 2026-09-05 via the MCP tool get-full-api-description at https://api.docs.cpanel.net/mcp. ONE mechanical change was made before storage: example values containing PEM private-key or certificate blocks, and AWS-access-key-shaped example strings, were replaced with REDACTED_* placeholders so the file can be stored in a public git repository without tripping secret scanning. No path, operation, parameter, schema or description was altered, added or removed.'
servers:
- description: A server running cPanel.
  url: https://{host}:{port}/execute
  variables:
    host:
      default: cpanel-server.tld
      description: The hostname of a server running cPanel.
    port:
      default: '2083'
      description: The cPanel port.
security:
- BasicAuth: []
tags:


# --- truncated at 32 KB (103 KB total) ---
# Full source: https://artifacts.apis.io/cpanel/openapi/cpanel-langphp-api-openapi.yml