Problem
On step 3 of installation (the install.php page), after entering your WHMCS license key and database connection details, the following error appears:
A license key is required. If you don't have one, please visit www.whmcs.com to purchase one.
Cause
There is an issue with the PHP sessions configuration in your server environment. This prevents the installation process from storing the temporary information to proceed to the next step.
Solution
To resolve this issue:
- Upload the
test_sessions.phpfile to your server. - Visit the file in your browser and note any errors or warnings.
- Refresh the page.
- Every time you refresh the page, the number should increase (for example, from
1to2and then from2to3). The expected result from thetest_sessions.phpfile in a correctly-configured cPanel server environment is:Array ( [count] => 1 ) PHP session.save_path /var/cpanel/php/sessions/ea-php81 is writable - Work with your hosting provider or system administrator to resolve any PHP misconfigurations that appear in the
test_sessions.phpfile. - Return to the
install.phppage and start the installation process again.
Last modified: 2025 July 28