Description

This function activates PHP-FPM for any non-PHP-FPM domains on a server.

Examples




https://hostname.example.com:2087/cpsess##########/json-api/convert_all_domains_to_fpm?api.version=1




https://hostname.example.com:2087/cpsess##########/xml-api/convert_all_domains_to_fpm?api.version=1




whmapi1 convert_all_domains_to_fpm



{      
     "metadata" : {      
         "command" : "convert_all_domains_to_fpm" , 
         "result" : 1 , 
         "reason" : "OK" , 
         "version" : 1 
     } , 
     "data" : {      
         "build" : "1493645120" 
     } 
 }




<xml>
    <data>
        <build>1493645238</build>
    </data>
    <metadata>
        <command>convert_all_domains_to_fpm</command>
        <reason>OK</reason>
        <result>1</result>
        <version>1</version>
    </metadata>
</xml>



Parameters

This function does not accept parameters.

Returns

ReturnTypeDescriptionPossible ValuesExample
build_idinteger

The ID of the log file for the conversion process.

A valid value.

1493645269