Server Requirements

This documentation is designed to guide you through each step of the installation process.

You must have proc_open enabled on your server (in the PHP version you are using for this script).

  • Server Type: Linux / macOS / CentOS (VPS Recommended)
  • PHP Version: >= 8.1
  • MySQL Version: >= 5.7
  • BCMath PHP Extension
  • Ctype PHP Extension
  • Fileinfo PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • ZIP PHP Extension

Please ensure the following PHP.ini configurations:
max_execution_time = 300
memory_limit = 128M
upload_max_filesize = 256M
post_max_size = 256M

Note: This application requires a HTTPS connection. If you're trying to install this application on your localhost, it must have SSL enabled.

Some packages must be present on your server to optimize images in Optimer. Let’s see what they are. If these packages are not present on your server or system, please install them using the following commands:

Here's how to install all the binaries on Ubuntu:

sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install pngquant
sudo npm install -g [email protected]
sudo apt-get install gifsicle
sudo apt-get install webp

And here's how to install the binaries on macOS (using Homebrew):

brew install jpegoptim
brew install optipng
brew install pngquant
npm install -g [email protected]
brew install gifsicle
brew install webp

And here's how to install the binaries on Fedora/RHEL/CentOS:

sudo dnf install epel-release
sudo dnf install jpegoptim
sudo dnf install optipng
sudo dnf install pngquant
sudo npm install -g [email protected]
sudo dnf install gifsicle
sudo dnf install libwebp-tools


Note: Please note that these binaries do not work on Windows and its servers.


DigitalOcean Referral Badge