Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Author: UltratechHost - Replies: 0 - Views: 4910
cPanel/WHM shows the error "Invalid license file", why ?
cPanel will show you an invalid license file error if you change your hostname to something that does not resolve to your server's IP address. You should change back the hostname to the original one or use a domain that resolve to your server's IP address by following these instructions:

[code]1. Connect to your server with SSH using the root user
2. Type in the following:hostname server.domain.com
3. Then type: /usr/local/cpanel/cpkeyclt in order to reactivate your cPanel/WHM license.
Author: UltratechHost - Replies: 0 - Views: 5927
Invalid command 'php_admin_flag' error upon Apache start
If you are getting the following error when you are trying to start Apache:

Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration

Then you most likely have a misconfiguraiton in the php configuration file and the options.conf file.

To fix this, run the following as root:

./build all d
./build rewrite_confs

That should fix your issue.