Jump to content

Whmcs install in Debian 11

Recommended Posts

Hello everyone. Hope all are doing fine.

I am trying to install whmcs latest version in Debian 11 VPS. But i can't find any guide anywhere.

Is someone give me some guidance how can I install whmcs in fresh Debian 11.

I want to use nginx and Mariadb. Instead of Apache and mysql.

If someone have some information for me please help me 










Link to comment
Share on other sites

You'd need to set up a LEMP stack or use some sort of control panel that ships with Nginx, plenty of guides on Google (e.g. https://www.linuxcapable.com/how-to-install-lemp-stack-on-debian-11-bullseye/)

WHMCS was designed to work with Apache, however that does not mean it will not work with Nginx, just that you will need to make some configuration changes especially if you use the fancy urls as Nginx doesn't read .htaccess files.

Take a look at https://hostup.org/blog/whmcs-friendly-urls-configuration-for-nginx/ for more information.

Whatever you do, ensure you deny access to your vendor folder

location ^~ /vendor/ {
    deny all;
    return 403;


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated