Description
This function returns the contents of a virtual host's php.ini
file.
Note:
This document only applies to systems that run EasyApache 4.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
type |
string |
Required The type of php.ini file. Important: If you set this parameter to vhost, you must also include thevhost parameter. |
|
vhost |
vhost |
string |
The name of a virtual host. Important: If the type value is vhost, you must use this parameter. |
A virtual host on the system. |
clearly.com |
Returns
Return
|
Type
|
Description
|
Possible values
|
Example
|
---|---|---|---|---|
|
string | The contents of the requested user's php.ini file. |
A list of PHP directives. |