Version 6

InstallUnderSafeMode

Installing bitweaver with safe_mode active

Created by: laetzer, Last modification: 09 Jun 2008 (19:05 UTC) by laetzer

Safe mode

Safe_mode and open_basedir are security features of PHP. Some hosts enable them on their servers, some don't. Web applications written in PHP tend to have problems with safe_mode.

Bitweaver has not been extensively tested on servers with safe_mode switched on. However, bitweaver does have code in place to run even with safe_mode enabled. If you experience problems, please try the following tips one by one. Please report (comment on this page, in the forum, in our IRC channel) how it worked out for you

session.save_path

Try setting an appropriate session.save_path by editing the file bit_setup_inc. Set it to a path where bitweaver has write access, for instance bitweaver's temp directory with 777 perms.

bit_setup_inc


<?php
// change the following line:
// ini_set('session.save_path', 'C:\somewhere\I\can\write');

// to:
ini_set('session.save_path''/yourbitweaver/temp/');
?>


...


Safe mode and SME server 7.1

If you are getting a blank page try the approach below. Then restart apache /etc/init.d/httpd restart

/etc/httpd/conf/httpd.conf


<?php
// in your /etc/httpd/conf/httpd.conf look for
php_admin_value open_basedir /home/bitweaver/html

// and add :/tmp to the end of the line so it looks like
php_admin_value open_basedir /home/bitweaver/html:/tmp
?>


More info

  1. Tikiwiki's page on the subject: http://tikiwiki.org/tiki-index.php?page=InstallTikiUnderSafeMode
  2. ...
Page History
Date/CommentUserIPVersion
15 Jul 2008 (16:11 UTC)
laetzer85.178.63.16710
Current • Source
laetzer85.178.17.1198
View • Compare • Difference • Source
laetzer85.178.30.296
View • Compare • Difference • Source
nexe58.105.75.1785
View • Compare • Difference • Source
FireFly70.68.84.203
View • Compare • Difference • Source
xing194.152.164.452
View • Compare • Difference • Source
xing194.152.164.451
View • Compare • Difference • Source