Horde test failed

Christian Guidi-Morosini guidi at ihp.jussieu.fr
Fri Jan 5 11:44:06 PST 2001


 Hi, 
 While testing my Horde installation with test.php3,
 all is fine but I have the following message when i try to
 "Click here to test PHPLIB for Horde"

Fatal error: Call to undefined function: shm_attach() in
/opt/local/apache/php-lib/ct_shm.inc on line 31

My config:
SPARC/Solaris 2.5.1
horde-1.2.3
php-4.0.4

local.inc
--------
<?php
class HordeCT extends CT_Shm {
  var $max_sessions   = 500;               // number of maximum sessions
  var $shm_key        = 0x123754;          // unique shm identifier
  var $shm_size       = 64000;             // size of segment
}
class HordeSession extends Session { var $classname = 'HordeSession';
  var $cookiename     = '';
  var $magic          = 'chuckmIMP';
  var $mode           = 'cookie';  
  var $fallback_mode  = 'get';
  var $lifetime       = 0;        
  var $that_class     = 'HordeCT';
  var $gc_probability = 5;
  var $allowcache     = 'no';
}
 
class HordeSessionCached extends HordeSession {
   var $allowcache     = 'private';
}
?>

prepend.php3
-----------
<?php
if (empty($_PHPLIB) || !is_array($_PHPLIB)) {
  $_PHPLIB["libdir"] = "";
}
require($_PHPLIB["libdir"] . "ct_shm.inc");
require($_PHPLIB["libdir"] . "local.inc"); 
require($_PHPLIB["libdir"] . "page.inc"); 
?>

Thank's for any help.

  ////  Christian Guidi-Morosini           phone: +33 1 44 27 67 79
 | O o  IHP                                fax:   +33 1 43 25 40 67
 C  .>  11, Rue Pierre et Marie Curie
  \`=   75231 Paris Cedex 05               mailto:guidi at ihp.jussieu.fr




More information about the horde mailing list