2012年1月30日月曜日

How Do Change Session Save Path To Writeable In Apache

how do change session save path to writeable in apache

session.save_path issue in joomla installation

The cause for the Unwritable message for PHP session save path is pretty straight forward, thats Joomla! installer unable detects any value set for session save path. To fix and solve the problem simply configure the session save path variable in the web server environment, so that session save path will be shown as Writable when Joomla! installer re-check the environment. Depending on the web hosting service you used, there are several possible solutions as listed below.

Define session.save_path directive in PHP.INI


If you have root access or control to the web host (for example, in VPS or dedicated server), edit the PHP.INI PHP configuration file in the web server to add in the environment variable. Normally the session.save_path directive is already included in the default PHP.INI, but been commented out. Add or edit the line so that it looks like below:

session.save_path = /tmp


Modify /tmp to the path to a folder that is writable by Apache web server process. If you dont have shell access to the web host, such as in shared hosting, try asking hosting service provider to include the session save path parameter, or make the path writable.
Include session.save_path in .htaccess file
If you cant modify PHP.INI global configuration file, or just want to make the change affect Joomla! or Mambo application only, create or edit the .htaccess file in the installation directory for Joomla! or Mambo, and add the following line (only works in Apache web server which configured to support .htaccess most cPanel hosts do):
php_value session.
save_path '/tmp'
Change the /tmp to a folder that is writable and prefer to be a session saved folder by you which has been created first. The trick above should work if PHP is runing as a server module (ISAPI), which most did, and not as CGI mode.

 

This entry was posted in Linux Web Hosting, Web Hosting and tagged Apache web server, CGI mode, htaccess, ISAPI, Joomla installation, PHP configuration file, PHP session save path, php.ini, session.save_path, web server. Bookmark the permalink.

These are our most popular posts: how do change session save path to writeable in apache

momok: Fix Session Save Path Red Unwritable When Installing ...

INI, but been commented out. Add or edit the line so that it looks like below: session.save path = /tmp. Modify /tmp to the path to a folder that is writable by Apache web server process. If you dont have shell access to the web host, such as in ... read more

PHP settings - Elxis Official Documentation

Dont forget to restart apache every time you edit default php.ini file to apply changes. allow fopen = Off ... session.save path = . disable functions = system ... read more

session.save path issue in joomla installation

Add or edit the line so that it looks like below: session.save path = /tmp. Modify /tmp to the path to a folder that is writable by Apache web server process. If you dont have shell access to the web host, such as in shared hosting ... read more

Fix Session Save Path

Add or edit the line so that it looks like below: session.save path = /tmp. Modify /tmp to the path to a folder that is writable by Apache web server process. If you dont have shell access to the web host, such as in shared hosting ... read more

Related Posts



0 コメント:

コメントを投稿