Below is a list of PHP functions that we occasionally see disabled on the servers but are required for MainWP functionality.
imagepng
– Required for PDF generation in our Pro Reports and Client Reports (Retired) extensions. The function is part of the PHP GD extension.
bccomp
– Required for the Google Analytics extension. The function is part of the BC Math extension.
putenv
– Required for the Google Analytics extension and for generating Pro Reports reports if they include Google Analytics data.
curl_exec
and curl_multi_exec
– Required for adding child sites to the MainWP Dashboard. These functions are part of the cURL Functions extension.
tmpfile
– Required for creating a temporary file on the Dashboard site. Used when installing Plugins and Themes via ZIP upload, adding a plugin or theme to Favorites extension, etc…
set_time_limit
– Is used to set the maximum execution time for a script, overriding the default limit. It’s typically used to prevent long-running scripts from timing out.