Sign inSign up

sonoransoftware/whmcs

By sonoransoftware

•Updated almost 4 years ago

PHP FPM container built for use with WHMCS.

Image
2

422

sonoransoftware/whmcs repository overview

⁠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.

Tag summary

Content type

Image

Digest

sha256:f2cd1070c…

Size

203 MB

Last updated

almost 4 years ago

docker pull sonoransoftware/whmcs