Table of Contents

Required PHP functions for MainWP

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.

curl_exec and curl_multi_exec – Required for adding child sites to the MainWP Dashboard. These functions are part of the

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…

Still Have a Questions?
Search for additional solutions in the MainWP Community or start your own discussion