Skip to content

Instantly share code, notes, and snippets.

@jai-o
Last active December 18, 2015 10:28
Show Gist options
  • Save jai-o/5768380 to your computer and use it in GitHub Desktop.
Save jai-o/5768380 to your computer and use it in GitHub Desktop.
WebServer: Test Open_basedir and Session.save_path
<?php echo (is_writable(session_save_path())) ? 'pass' : 'fail'; ?>
@jai-o
Copy link
Author

jai-o commented Jun 13, 2013

check phpinfo, if open_basedir is enabled and check session.save_path php setting, then can go into control panel of web host and modify php settings, or may need to ask the host to make changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment