Bash - Allow WordPress to Write Session Data

#!/bin/bash : ' php.ini see http://www.php.net/manual/en/session.configuration.php#ini.session.save-path Get php.ini path php -r \@phpinfo\(\)\; | grep 'ini' -m 1 Find the session save path cat /etc/php.ini | grep 'session.save-path' --context=2 ' # WordPress needs to be able to write to this directory # Give it control by setting the owner to <user:group> chown -R apache:apache /var/lib/php/session

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.