#47 PHP safe mode breaks BASE

BASE
closed-fixed
Kevin Johnson
None
7
2005-03-25
2005-03-22
Kevin Johnson
No

From: Michael Scheidell <scheidell@secnap.net>
To: Snort-users@lists.sourceforge.net
Subject: [Snort-users] Q about BASE and safe_mode
Date: Mon, 21 Mar 2005 16:51:25 -0500
I have not been able to get BASE to work with safe_mode on.

Yes, we put that directory in safe_mode_include_dir and
stopped and
started apache.

System is FBSD 4.11, php5, postgresql DB, BASE 1.01
(michelle)

If we set safe_mode off and restart apache, all works fine.
I could not find a mention of php.ini or safe_mode in
any of the install
docs.

If not, it complains about Error loading the DB
Abstraction library:
from "/usr/local/share/adodb/adodb.inc.php"

Check the DB abstraction library variable $DBlib_path
in base_conf.php

(yes, file exists and is readable by user running web
daemon, it works
if safe_mode off)
Other program that uses jpgraph doesn't have any problems.

safe_mode_include_dir is:

safe_mode_include_dir
="/usr/local/share/jpgraph:/usr/local/share/adodb"

Even put it in include_path (just in case)

Any ideas?

Discussion

  • Kevin Johnson
    Kevin Johnson
    2005-03-25

    • assigned_to: nobody --> secureideas
    • status: open --> closed-fixed
     
  • Kevin Johnson
    Kevin Johnson
    2005-03-25

    Logged In: YES
    user_id=836228

    I have fixed this bug and checked it into CVS. It will be
    part of the 1.1 release next week.

    Kevin