WHMCS Installation

Login to WHMCS

Login at WHMCS website with your account details

https://www.whmcs.com/members/clientarea.php

 

My Licenses & Services

At the following URL you can find Licenses & Services which are available under your account.

https://www.whmcs.com/members/clientarea.php?action=products&module=licensing

 

Download WHMCS

Visit https://download.whmcs.com/

Download the latest WHMCS, you can also download Incremental Patches OR Beta Releases if required.

 

Installing Ioncube

WHMCS is encrypted using ionCube Loader® to protect the source code. Install PHP Extension Ioncube if not installed.

PHP Extension Ioncube Installation

 

Creating a Database

Create a new database in MYSQL & update privileges.

WHMCS requires the following database privileges:

  • DELETE
  • INSERT
  • SELECT
  • UPDATE
  • LOCK TABLES
  • ALTER
  • CREATE
  • DROP
  • INDEX

 

Service Information

At the Licenses & Services section, view service information, here you will get License Key, Valid Domains, Valid IPs, Valid Directory, & License Status. Service information can be used for installation of WHMCS further.

 

For local/developer installation

MAMP server can be used in MacOS

 

Valid IP (::1)

Valid domain (localhost,www.localhost)

Valid Directory (/Applications/www/whmcs)

 

Create Valid Directory

mkdir /Applications/www/

 

Update Root Directory

At MAMP server update root directory.

Open Preferences -> Click on Server -> Update Path of Document Root to /Applications/www/

Restart MAMP Server

 

Installing WHMCS

Unzip the contents of the .zip file to the folder on your computer.

copy folder whmcs to /Applications/www/

Rename the configuration.php.new to configuration.php

 

Open URL to start installation

http://localhost/whmcs/ OR http://localhost/whmcs/install/install.php

If you see an ionCube-related error message, perform the ionCube installation steps above.

 

Further provide details for the database, like database name, server, username, password etc at next step of installation form.

 

Delete the /install/ directory from your server.

 

Required file and folder permissions

/configuration.php CHMOD 400 Readable

/attachments CHMOD 777 Writable

/downloads CHMOD 777 Writable

/templates_c CHMOD 777 Writable

 

Set Up the Daily Cron Job

Set up a cron job in your control panel to run the following command every five minutes or as frequently as your hosting provider allows:

/usr/bin/php -q /Applications/www/whmcs/crons/cron.php

 

Example: 

*/15 * * * * /Applications/MAMP/bin/php/php7.3.29/bin/php -q /Applications/www/whmcs/crons/cron.php

Nishant Vaity

Knowledgeable and skilled Technology Lead with an ability of software development and supervision. Possess a Bachelor of Science (BS) in Information Technology along with 11+ years of experience with hands-on coding and team management. By profession, I am a Software Engineer, Technology Mentor & Entrepreneur. Passionate about the technologies I use and always eager to share & learn more from that passion.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.