PHP keeps a small file for every visitor who is logged in to a site. These session files live in a folder on the server. If that folder is missing or PHP isn't allowed to write to it, sites show errors such as: session_start(): open(/var/lib/php/session/sess_abc123, O_RDWR) failed: Permission denied Visitors then can't stay logged in, and login pages keep returning to the login form. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
/go/session
Options
None.
Examples
# Create the folders and set their permissions
/go/session
# Check one of the folders
ls -ld /var/lib/php/session
# Find out which folder a PHP version really uses
php -i | grep session.save_path
Output
The command prints nothing. Every run is logged to /var/log/go/session.log with a timestamp and the arguments used.
See the full reference at /go/session and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
