I have a custom cms that uses sessions o store some data. The webserver I'm on suddenlt changed turned safe_mode on in PHP. This means I can't use sessions anymore. Is there a workaround for this when putting safe_mode off is no option?
PHP session with safe_mode on
1.4k Views Asked by waterschaats At
1
There are 1 best solutions below
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
Related Questions in APACHE
- .htaccess redirect 403 error files to 404 error document
- RestApi server code is not workinng
- Convert Apache VirtualHost to nginx Server Block for Dynamic Subdomains
- Looking the Method that MANUALLY INSTALL PHP on OSX Yosemite
- Premature end of script on VPS
- Rasterization with Javascript looks different on Apache server
- Vagrant - Ansible error installing Apache
- Can't use subdomain in Chrome using Apache (XAMPP)
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Redirect keystone app to sub directory using htaccess
- How can I integrate Solr5.1.0 with Nutch1.10
- Disconnect Client connected to cgi application
- Solr ping taking time during full import
- How to redirect an incoming request to specific serverName to different server in apache2?
- What is the correct way to link Django Flatpages?
Related Questions in SAFE-MODE
- Hadoop 2.6.0 Namenode stuck in safemode and won't leave it
- Run launcher app in safe mode of android
- When or for what Reasons should folks turn PHP Safemode ON/OFF?
- Hadoop safemode recovery - taking too long!
- PHP safe_mode problem using curl
- How can I disable the Alt/Option key from opening Firefox in safe mode?
- Simple if in .bat or .cmd to check if booted in safe mode or not
- How to deactivate safe mode in the mongo shell?
- Unable to start IIS Express when runnin VS in SafeMode
- Does android keep a log of when it starts?
- PHP safemode alternative
- Safe mode.. mkdir
- Running Visual Studio in Windows Safe Mode
- safemode required for future system updates
- PHP session with safe_mode on
Related Questions in PHP-SAFE-MODE
- Can't write to /tmp with php, despite 777 permissions and no open_basedir value
- PHP session with safe_mode on
- How to use shell_exec() function in a php domain?
- Migrating from PHP 5.4 to PHP 5.6 (CodeIgniter code)
- PHP/cURL script requesting another PHP script and exiting before response
- Turning off php4 safe mode - what to consider?
- PHP Script is creating a folder but cannot create a folder inside
- What's the difference whether or not to run PHP in safe mode?
- Jira API Issue - CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set limited options on shared hosting
- PHP force download results in corrupted file
- Warning: Unknown: SAFE MODE Restriction in effect. The script whose uid is 10014 is not allowed to access / owned by uid 0 in Unknown on line 0
- Safe Mode Restriction in Effect with Safe Mode Off
- php function doesn't return a value
- Is there an alternative to php readfile() in safe mode server?
- Create a symlink without shell access and in safe mode?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to the php manual of
sessions, the fact that your server is insafe modewon't cause a problem with your sessions.http://www.php.net/manual/en/intro.session.php
However , the
session_start()function might be disabled in safe mode , under the next condition:In order to resolve this problem , contact your hosting company and ask for a local ini file (php settings) , then edit the value of
session.save_pathand make sure that this path exists in your server.