Required PHP functions for MainWP

Available with the following:

Table of Contents

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…

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.

Still Have Questions?

Search for additional solutions in the MainWP Community or start your own discussion
MainWP Community

Ask FAB

Our always on
AI support agent

Table of Contents

Related Content

Ask FAB