Skip to content

Latest official v8.1 PHP-FPM container configured with basic extensions and production settings. Includes ionCube Loader php extension as required for WHMCS.

Notifications You must be signed in to change notification settings

Sonoran-Software/docker-WHMCS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP FPM Template for WHMCS

Docker Pulls Docker Stars Docker Build Status

Latest offical v8.1 PHP-FPM container configured with basic extensions and production settings. Includes ionCube Loader php extension as required for WHMCS.

Changes to offical container

Extentions

  • pdo_mysql
  • mysqli
  • calendar
  • intl
  • ionCube Loader

php.ini

  • date.timezone = Etc/UTC
  • upload_max_filesize = 25M
  • post_max_size = 25M

Configuration

See example directory for sample config file showing how to use this container with nginx.

If using this container for WHMCS I suggest also adding a cron job to your host machine like the following...

/etc/cron.d/whmcs

*/5 * * * * root /usr/bin/docker exec whmcs_whmcs_1 /usr/local/bin/php -q /var/www/html/crons/cron.php

Quickstart

whmcs:
  image: sonoransoftware/whmcs

  volumes:
    # Website files
    - ./www:/www

  ports:
    - "9000:9000"

You will need to supply the WHMCS files and replace the index.php file in the www directory in the example directory. Once you do this, connecting to your server on port 80 should give you WHMCS. If you do not supply the files downloaded from the WHMCS website then you should see the PHP test page.

About

Latest official v8.1 PHP-FPM container configured with basic extensions and production settings. Includes ionCube Loader php extension as required for WHMCS.

Topics

Resources

Stars

Watchers

Forks

Languages

  • Dockerfile 98.9%
  • PHP 1.1%