v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
Hosting: PHP

Get PHP info

Returns the full phpinfo page (HTML) for the website.

Use it to debug PHP issues or inspect the complete PHP environment of the website.

get/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info

Path parameters

usernamestring required
Example:u123456789
domainstring required
Example:mydomain.tld

Domain name

Response

Success response

infostring

HTML string containing the full phpinfo page

Example response

{
  "info": "<html>...</html>"
}