File Permision error

How i can solve this issue?
Basically i need move out templates_c from public_html so i have moved templates_c inside of private folder but now i got this issue of permission

Permissions Error

The templates compiling directory ‘/home/whmcs/web/bills.mmgnservices.com/private/templates_c’ must be writeable (CHMOD 777) before you can continue.
If the path shown is incorrect, you can update it in the configuration.php file.

I think you used the file manager?

See https://github.com/hestiacp/hestiacp/issues/925 point 3.
And https://github.com/filegator/filegator/issues/112

Login via FTP, SFTP or SSH and use chmod.

1 Like

First i am using file manager then i am upload all by ftp.
But i dont find the solution and the happend still.
WHMCS recomend move remplates_c folder outside of public html.
I need help with that.

Did you checked the web log? Will probaly give you more informations.

Probably a issue with open base dir

Read:
https://docs.hestiacp.com/admin_docs/server_management.html#how-do-web-templates-work
https://docs.hestiacp.com/admin_docs/server_management.html#how-can-i-change-settings-for-a-specific-domain

Check in your

$HESTIA/data/templates/web/php-fpm/ folder

Create a copy of the version you are using (Default 7.3) rename it

WMS-PHP-7_3.tpl and modify

To include /home/{user}/web/domain/private/

Or wait till 1.2.2 is released and we have a plugin that moves document root to a different folder. (For example /home/{user}/web/domain/public_html/dist/

How ever we can’t supply technical support on third party software…

https://www.whmcs.com/support/

this. make sure to include the ‘private’ in open_basedir directive as @eris already pointed out.