cPanel · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cpanel PHP API

16 actions 16 updates phrasing extends openapi/cpanel-php-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for cPanel's API. It is a proposal applied on top of the contract, not a document cPanel publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 16

$.info
$.paths['/EA4/get_php_recommendations'].get
$.paths['/php_get_handlers'].get
$.paths['/php_get_impacted_domains'].get
$.paths['/php_get_installed_versions'].get
$.paths['/php_get_system_default_version'].get
$.paths['/php_get_vhost_versions'].get
$.paths['/php_get_vhosts_by_version'].get
$.paths['/php_ini_get_content'].get
$.paths['/php_ini_get_directives'].get
$.paths['/php_ini_set_content'].post
$.paths['/php_ini_set_directives'].get
$.paths['/php_set_handler'].get
$.paths['/php_set_session_save_path'].get
$.paths['/php_set_system_default_version'].get
$.paths['/php_set_vhost_versions'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Cpanel PHP API
  version: 1.0.0
extends: openapi/cpanel-php-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 15
- target: $.paths['/EA4/get_php_recommendations'].get
  update:
    x-apievangelist-phrasing:
      intent: Get recommended PHP versions
      effect: read
      questions:
      - Which PHP versions does EasyApache 4 recommend for my server?
      - What PHP version should I choose for a new site?
      instructions:
      - text: Show the PHP version recommendations.
      - text: List the PHP versions EasyApache 4 suggests.
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_get_handlers'].get
  update:
    x-apievangelist-phrasing:
      intent: List PHP handlers on the system
      effect: read
      questions:
      - Which PHP handlers are available on my server?
      - Can I see the handler for a specific PHP version?
      instructions:
      - text: List the PHP handlers on the system.
      - text: Show the handler for PHP version {version}.
        slots:
          version: query.version
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_get_impacted_domains'].get
  update:
    x-apievangelist-phrasing:
      intent: List domains using a PHP configuration
      effect: read
      questions:
      - Which domains use the system default PHP version?
      - What domains inherit a particular PHP configuration?
      instructions:
      - text: List domains that use the system default PHP version.
      - text: Show domains inheriting PHP configuration {domain}.
        slots:
          domain: query.domain
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_get_installed_versions'].get
  update:
    x-apievangelist-phrasing:
      intent: List installed PHP versions
      effect: read
      questions:
      - What PHP versions are installed on my server?
      - Which PHP versions can I choose for a domain?
      instructions:
      - text: List the installed PHP versions.
      - text: Show every PHP version installed on the server.
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_get_system_default_version'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the system default PHP version
      effect: read
      questions:
      - What PHP version is set as the system default?
      - Which PHP version do new domains get by default?
      instructions:
      - text: Show the system default PHP version.
      - text: Tell me which PHP version is the default.
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_get_vhost_versions'].get
  update:
    x-apievangelist-phrasing:
      intent: Get PHP version of every virtual host
      effect: read
      questions:
      - What PHP version is each of my virtual hosts running?
      - Can I see the PHP version for all domains I control?
      instructions:
      - text: Show the PHP version of every virtual host.
      - text: List the PHP version for each of my domains.
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_get_vhosts_by_version'].get
  update:
    x-apievangelist-phrasing:
      intent: List virtual hosts using a PHP version
      effect: read
      questions:
      - Which domains run PHP 7.4?
      - Can I find every virtual host on a given PHP version?
      instructions:
      - text: List the virtual hosts using PHP version {version}.
        slots:
          version: query.version
      - text: Show every domain running PHP {version}.
        slots:
          version: query.version
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_ini_get_content'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a PHP version's php.ini contents
      effect: read
      questions:
      - What does the php.ini file look like for a PHP version?
      - Can I read the full php.ini for a PHP version?
      instructions:
      - text: Show the php.ini contents for PHP version {version}.
        slots:
          version: query.version
      - text: Get the full php.ini file for {version}.
        slots:
          version: query.version
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_ini_get_directives'].get
  update:
    x-apievangelist-phrasing:
      intent: List a PHP version's php.ini directives
      effect: read
      questions:
      - Which php.ini directives are set for a PHP version?
      - What settings does a PHP version's php.ini contain?
      instructions:
      - text: List the php.ini directives for PHP version {version}.
        slots:
          version: query.version
      - text: Show the php.ini settings of {version}.
        slots:
          version: query.version
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_ini_set_content'].post
  update:
    x-apievangelist-phrasing:
      intent: Replace a PHP version's php.ini file
      effect: write
      questions:
      - Can I overwrite a PHP version's entire php.ini file?
      - How do I replace the full php.ini for a PHP version?
      instructions:
      - text: Replace the php.ini file for PHP version {version} with {content}.
        slots:
          version: query.version
          content: query.content
      - text: Overwrite the full php.ini of {version} with {content}.
        slots:
          version: query.version
          content: query.content
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_ini_set_directives'].get
  update:
    x-apievangelist-phrasing:
      intent: Set a PHP version's php.ini directives
      effect: write
      questions:
      - Can I change one or more php.ini settings for a PHP version?
      - How do I set a php.ini directive value for a PHP version?
      instructions:
      - text: Set the php.ini directive {directive} for PHP version {version}.
        slots:
          directive: query.directive
          version: query.version
      - text: Update the {directive} setting in {version}'s php.ini.
        slots:
          directive: query.directive
          version: query.version
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_set_handler'].get
  update:
    x-apievangelist-phrasing:
      intent: Change a PHP version's handler
      effect: write
      questions:
      - Can I switch a PHP version to CGI or suphp?
      - How do I change the handler a PHP version uses?
      instructions:
      - text: Set PHP version {version} to use handler {handler}.
        slots:
          version: query.version
          handler: query.handler
      - text: Change {version}'s PHP handler to {handler}.
        slots:
          version: query.version
          handler: query.handler
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_set_session_save_path'].get
  update:
    x-apievangelist-phrasing:
      intent: Set PHP's default session save path
      effect: write
      questions:
      - Can I change where PHP saves session files?
      - How do I set a custom session save path for PHP?
      instructions:
      - text: Set PHP's default session save path to {path}.
        slots:
          path: query.path
      - text: Change the PHP session save path to {path} and overwrite the existing one ({overwrite}).
        slots:
          path: query.path
          overwrite: query.overwrite
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_set_system_default_version'].get
  update:
    x-apievangelist-phrasing:
      intent: Set the system default PHP version
      effect: write
      questions:
      - How do I make a PHP version the default for new domains?
      - Can I change which PHP version new sites get automatically?
      instructions:
      - text: Set the system default PHP version to {version}.
        slots:
          version: query.version
      - text: Make {version} the default PHP version for new domains.
        slots:
          version: query.version
      method: generated
      generated: '2026-11-26'
- target: $.paths['/php_set_vhost_versions'].get
  update:
    x-apievangelist-phrasing:
      intent: Update a domain's PHP version
      effect: write
      questions:
      - How do I set the PHP version for a domain in WHM?
      - Can I turn PHP-FPM on or off for specific virtual hosts?
      instructions:
      - text: Set the PHP version of {vhost} to {version}.
        slots:
          vhost: query.vhost
          version: query.version
      - text: Change virtual host {vhost} to PHP {version} with PHP-FPM {php_fpm}.
        slots:
          vhost: query.vhost
          version: query.version
          php_fpm: query.php_fpm
      method: generated
      generated: '2026-11-26'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/cpanel-php-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.