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.php
file 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
1
to2
and then from2
to3
). The expected result from thetest_sessions.php
file 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 system administrator or hosting provider to resolve any PHP misconfigurations that appear in the
test_sessions.php
file. - Return to the
install.php
page and start the installation process again.
Last modified: October 29, 2024