Hosting: PHP
Get PHP info
Changed onReturns 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
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info
- Auth: HTTP bearer
Path parameters
usernamestring required
Example:u123456789
domainstring required
Example:mydomain.tld
Domain name
Response
Success response
Example response
{
"info": "<html>...</html>"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking