search for: wpdirs

Displaying 2 results from an estimated 2 matches for "wpdirs".

Did you mean: pdirs
2017 Dec 04
1
Apache and web content permissions
...x.fr> # WP-CLI doit ?tre install? WP='/usr/local/bin/wp' # Apache HTUSER='apache' HTGROUP='apache' # Utilisateur normal WPUSER='microlinux' WPGROUP='microlinux' # Racine du serveur Web WPROOT='/var/www' # Identifier les installations Wordpress WPDIRS=$(dirname $(cd $WPROOT && find . -type f -name 'wp-config.php')) for WPDIR in $WPDIRS; do cd $WPROOT # D?finir les permissions correctes chown -R $WPUSER:$WPGROUP $WPDIR find $WPDIR -type d -exec chmod 0755 {} \; find $WPDIR -type f -exec chmod 0664 {} \; chown -R $WPUS...
2017 Dec 02
5
Apache and web content permissions
Le 02/12/2017 ? 14:19, Leon Fauster a ?crit : > I would build a rpm package of wordpress (everything can be defined > there like permissions etc) The initial question was: WHAT permissions? > and disabling the automatic update > function in wordpress. Build once it can be installed on all (two > dozen) webservers automagically (local yum repository) ... externe That would mean