If you use Linux default sessions in php are stored at /var/lib/php/sessions/ and you want change this settings, create in your server folder sessions like this /var/www/sessions/ Set permissions chown -R www-data:www-data /var/www/sessions chmod 777 /var/www/sessions Note: www-data it`s your nginx user, you can check it in file /etc/php5/fpm/pool.d/www.conf Now edit php.ini and set path to your new sessions folder session.save_path...
Month: January 2023
Boot from live usb. I use Debian 8. Open terminal and type sudo su Install LVM apt-get install lvm2 List all logical volumes in all volume groups lvscan I have such a LVM structure ACTIVE '/dev/v1/boot' [100.00 MiB] inherit ACTIVE '/dev/v1/root' [10.00 GiB] inherit ACTIVE '/dev/v1/tmp' [500.00 MiB] inherit ACTIVE '/dev/v1/var' [30.00 GiB] inherit Now mount devices to mnt folder mount /dev/v1/root /mnt mount /dev/v1/boot...