Guides › Hosting, domain & email › Site down or error screens

Server Error After PHP Extension or Module Missing (mbstring, curl, gd, zip)

Plugins fail with fatal errors when a needed PHP extension is not installed.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.

Typical messages

Call to undefined function mb_strlen(), curl_init, imagecreatefromjpeg, or ZipArchive not found.

Fix

  1. In the hosting panel, find PHP Extensions (or Select PHP Version) and enable the extension for your PHP version.
  2. On a VPS, install the package for your PHP version with the system package manager and restart the PHP service.
  3. Check the extension appears in a phpinfo page, then remove that page from the server.
  4. If the panel has no option, ask the host.

Extensions are enabled per PHP version, so if you changed versions, set them again. See Which PHP Version Should You Use, and How to Change It Safely.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.