• How To Fix Website Permissions Error

  • Members help others by posting how to use VPSSIM.

Members help others by posting how to use VPSSIM.
 #32  by nguyenoanh
 28 May 2018 15:34
When the website get permissions error, you can not update the plugins themes, upload image to VPS ....
This happends when you upload code to VPS but did not set the right permission for that code.
To fix this problem, you can using the function: Fix Error Chmod, chown in Add Website & Code Menu.


Quote:
=========================================================================
               VPSSIM - Manage VPS/Server by VPSSIM.COM 
=========================================================================
                        Add Website To Server 
=========================================================================
             VPSSIM Support Both WWW And Non_WWW Domains
=========================================================================
 1) Add Website
 2) Add Park & Redirect Domain
 3) Add website + Wordpress (Auto Setup)
 4) Add website + Wordpress Code
 5) Add Website + Forum Code
 6) Add Website + Opencart Code
 7) Add Website + Joomla Code
 8) Add website + Drupal Code
 9) Add website + Sypex Dumper (Data Backup)
10) Add Website + YourLS (URL Shortener)
11) Fix Error Chmod, chown
12) List & Size of All Websites
Type in your choice (0-Exit): 11
=========================================================================
You must use this function after upload code website to server.
-------------------------------------------------------------------------
This function will set permission writable for Nginx, PHP-FPM to the code
-------------------------------------------------------------------------
you uploaded. If do not run this function, website can has error:
-------------------------------------------------------------------------
can't Write , Unable to install fixes , unable to upload, upgrade plugins,
-------------------------------------------------------------------------
themes, asking FTP password when update plugins, themes. 
=========================================================================
Type in website [ENTER]: demo.com
or using this below command:
Code:
chown -R nginx:nginx /home/domain.com/public_html
Get 25 USD Free To USE VPSSIM