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?
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in APACHE
- Special access rule in an .htaccess file for IP addresses, authorized only for one directory structure
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Cannot load modules/mod_dav_svn.so into server
- How to ignore case in regexp mapping in a .htaccess rewrite rule?
- Oracle Http server ISNT-07551
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Apache Reverse Proxy: only one proxy directive is working. Second one is ignored
- Issue with Django --> Apache WSGI deployment
- changing the node version used by apache web server
- Apache: How can I redirect to a subfolder with a URL param but serve required content via the main URL?
- Why/How does Apache auto-include "DHE" TLS1.2 ciphers while nginx needs "dhparams" file?
- Set up MX records in apache/Ubuntu to point to external mail server
- How to proxy to another port?
- Php can not upload file out of /var/www/html even after disabling Selinux
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
Related Questions in SAFE-MODE
- Safe mode in Excel - how to trigger this?
- Is there any way to prevent a DELETE/UPDATE query to use the primary key greater than/less than comparison?
- Open Jupyter notebook without render images and without popolating dataframes - safe mode loading preventing out of memory state
- Running Visual Studio in Windows Safe Mode
- ¿Can i set in Mysql the use of two different data base at the same time?
- How do I prevent Word from starting in safe mode?
- Can't exit or forceExit from Hadoop safe mode
- timeout /t 10 /nobreak > NUL is getting stuck and not coming out to execute next statement on windows 2003 server VM
- Namenode impossible to leave safemode
- Is there any way to show a custom message when a user opens Outlook in safe mode?
- Pass adminPassword Parameter from JSON template to PS script Switch
- Safe mode was needed to delete files
- safemode required for future system updates
- SQL error 1175 with JOIN
- MySQL Safe Mode: What Satisfies the Requirements?
Related Questions in PHP-SAFE-MODE
- Migrating from PHP 5.4 to PHP 5.6 (CodeIgniter code)
- PHP Script is creating a folder but cannot create a folder inside
- PHP/cURL script requesting another PHP script and exiting before response
- PHP: Turn off safe mode at runtime
- Where to start with Deprecated: Directive 'safe_mode' on line 0 in Apache error logs
- PHP force download results in corrupted file
- php function doesn't return a value
- Safe Mode Restriction in Effect with Safe Mode Off
- 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
- 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 session with safe_mode on
- Can't write to /tmp with php, despite 777 permissions and no open_basedir value
- Setting safe mode to OFF in .htaccess file does not work
- Turning off php4 safe mode - what to consider?
- Is there an alternative to php readfile() in safe mode server?
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?
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)
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.