# Update PHP default save path This function sets the location of PHP's default session save path. When you disable the Web Server role, the system this function. Endpoint: GET /php_set_session_save_path Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `overwrite` (integer) Whether to overwrite the existing session save path in the file. * — Overwrite the existing value in the file. * — Do overwrite the existing value in the file. Enum: 0, 1 - `path` (string) The directory in which to save session information. For security reasons, do set this value to or another insecure location. Example: "/var/cpanel/php/sessions" ## Response 200 fields (application/json): - `metadata` (object) - `metadata.command` (string) The method name called. Example: "php_set_session_save_path" - `metadata.reason` (string) The reason the API function failed when the field is . This field may display a success message when a function succeeds. Example: "OK" - `metadata.result` (integer) * — Success. * — Failed. Check the field for more details. Enum: 0, 1 - `metadata.version` (integer) The version of the API function. Example: 1