Outils pour utilisateurs

Outils du site


sme:apache

Prise en compte aussi du repertoire /tmp SPIP Wordpress gallery etc

IBAY='sitesweb'
db accounts setprop $IBAY PHPBaseDir /tmp/:/home/e-smith/files/ibays/$IBAY/html/:/home/e-smith/files/tmp:/home/e-smith/files/ibays/$IBAY/files/
db accounts setprop $IBAY AllowOverride All
db accounts setprop  $IBAY FollowSymLinks enabled
signal-event ibay-modify $IBAY
/etc/init.d/httpd-e-smith restart

Prise en compte aussi du repertoire /tmp pour php: upload_tmp_dir pour dokuwiki SPIP Wordpress gallery etc

mkdir -p /home/e-smith/files/tmp
chmod 2770 /home/e-smith/files/tmp
chown admin:www /home/e-smith/files/tmp
mkdir -p /etc/e-smith/templates-custom/etc/php.ini
cp /etc/e-smith/templates/etc/php.ini/50PathsDirectories /etc/e-smith/templates-custom/etc/php.ini
echo upload_tmp_dir = \"/home/e-smith/files/tmp\" >> /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
expand-template /etc/php.ini
sv t httpd-e-smith
sme/apache.txt · Dernière modification: 2017/04/11 15:13 (modification externe)