Locate php.ini by entering the following command:
php -i | grep "Loaded Configuration File"
Typical locations follow:
- Ubuntu: /etc/php5/cli/php.ini
- CentOS: /etc/php.ini
Open php.ini with root user, and comment it out:
;session.save_path =
to
session.save_path = files