Sentora Support Forums
wordpress problem - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: wordpress problem (/showthread.php?tid=4337)



wordpress problem - mohamadcom - 02-01-2018

hello,
I have word-press installation, I can't update,add any plugin,media,them ... etc..
I apply chmod 777 on all directorys from /var ... to wp-admin/plugins but till now I can't add anything to my wordpress site..
another question, I change my apache port from sentora settings and from vhost config file " from 80 to 8081" but sometimes the ports in vhost config file automatically changed back from 8081 to 80 is here a soluations ?
note ports in sentora settings not changed


RE: wordpress problem - ismailfazal - 02-01-2018

(02-01-2018, 09:15 AM)mohamadcom Wrote: hello,
I have word-press installation, I can't update,add any plugin,media,them ... etc..
I apply chmod 777 on all directorys from /var ... to wp-admin/plugins but till now I can't add anything to my wordpress site..
another question, I change my apache port from sentora settings and from vhost config file " from 80 to 8081" but sometimes the ports in vhost config file automatically changed back from 8081 to 80 is here a soluations ?
note ports in sentora settings not changed

Hi, try executing this command from shell , chmod -r www-data:www-data /(your installation directory), basically its giving the recursive directory permission to apache for the mentioned directory. Well if you are setting the specifically for domain you can see under menu admin>module admin>apache config. You can also see the attached screenshot.


RE: wordpress problem - worksmarter - 02-01-2018

(02-01-2018, 09:15 AM)mohamadcom Wrote: I apply chmod 777 on all directorys from /var ... to wp-admin/plugins

You do not want to give world read/write permissions to any of your web site directories. - No more than 0770.


RE: wordpress problem - mohamadcom - 02-02-2018

Thanks for helping,
I solve it by this command
1- change owner for all files,folders,sub-folders
chown -R apache:apache "path"
2- change files ,sub files , folders and sub folder permissions
files to 644 , folders to 755
chmod -R u+rwX,go+rX,go-w "path"

(02-01-2018, 03:52 PM)ismailfazal Wrote: Hi, try executing this command from shell , chmod -r www-data:www-data /(your installation directory), basically its giving the recursive directory permission to apache for the mentioned directory. Well if you are setting the specifically for domain you can see under menu admin>module admin>apache config. You can also see the attached screenshot.

by the way, can you told me the name of the theme you are using on your website, it's very beautiful Big Grin