Hello Jared,

You need too the package php-session instaled on your system....

My php.ini is setup only this:

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
include_path = ".:/usr/share/php/"

Locate your equivalent of  "/usr/share/php" on your php instalation and change your php.ini file...

My php installation is (on suse 9.3 pro box)::

msp02:/home/vinicius # rpm -ql php4-4.3.4-43.46.3
/etc/php.ini
/usr/X11R6/bin/gtkasp2php
/usr/bin/asp2php
/usr/bin/php
/usr/bin/php-config
/usr/lib/php
/usr/lib/php/bin
/usr/lib/php/extensions
/usr/lib/php/sce_install
/usr/share/doc/packages/php4
/usr/share/doc/packages/php4/CODING_STANDARDS
/usr/share/doc/packages/php4/CREDITS
/usr/share/doc/packages/php4/INSTALL
/usr/share/doc/packages/php4/LICENSE
/usr/share/doc/packages/php4/NEWS
/usr/share/doc/packages/php4/README.CLI
/usr/share/doc/packages/php4/README.CVS-RULES
/usr/share/doc/packages/php4/README.EXTENSIONS
/usr/share/doc/packages/php4/README.EXT_SKEL
/usr/share/doc/packages/php4/README.FastCGI
/usr/share/doc/packages/php4/README.PARAMETER_PARSING_API
/usr/share/doc/packages/php4/README.PEAR
/usr/share/doc/packages/php4/README.QNX
/usr/share/doc/packages/php4/README.SELF-CONTAINED-EXTENSIONS
/usr/share/doc/packages/php4/README.STREAMS
/usr/share/doc/packages/php4/README.SUBMITTING_PATCH
/usr/share/doc/packages/php4/README.SuSE
/usr/share/doc/packages/php4/README.TESTING
/usr/share/doc/packages/php4/README.UNIX-BUILD-SYSTEM
/usr/share/doc/packages/php4/README.Zeus
/usr/share/doc/packages/php4/TODO
/usr/share/doc/packages/php4/TODO.BUILDv5
/usr/share/doc/packages/php4/TODO_SEGFAULTS
/usr/share/doc/packages/php4/test.php
/usr/share/man/man1/php.1.gz
/usr/share/php
msp02:/home/vinicius # ls -l /usr/share/php/
total 115
drwxr-xr-x  14 root root   496 2005-10-08 20:08 .
drwxr-xr-x  92 root root  2392 2005-11-10 11:33 ..
drwxr-xr-x   2 root root    72 2005-10-08 20:08 Archive
drwxr-xr-x   2 root root    80 2005-10-08 20:08 Console
drwxr-xr-x   3 root root    72 2005-10-08 20:08 data
drwxr-xr-x   2 root root   464 2005-10-08 20:08 DB
-rw-r--r--   1 root root 29129 2004-04-04 21:20 DB.php
drwxr-xr-x   4 root root   104 2005-10-08 20:08 doc
-rw-r--r--   1 root root  7798 2004-04-04 21:20 HTTP.php
drwxr-xr-x   2 root root   160 2005-10-08 20:08 Mail
-rw-r--r--   1 root root  7331 2004-04-04 21:20 Mail.php
drwxr-xr-x   2 root root   104 2005-10-08 20:08 Net
drwxr-xr-x   2 root root    80 2005-10-08 20:08 OS
drwxr-xr-x   4 root root   416 2005-10-08 20:08 PEAR
-rw-r--r--   1 root root  9214 2004-04-04 21:20 pearcmd.php
-rw-r--r--   1 root root 30415 2004-04-04 21:20 PEAR.php
drwxr-xr-x   2 root root   448 2005-10-08 20:08 swffonts
-rw-r--r--   1 root root 17607 2004-04-04 21:20 System.php
drwxr-xr-x   4 root root   104 2005-10-08 20:08 test
drwxr-xr-x   3 root root   128 2005-11-30 12:59 XML

This work with postfix+mysql+smtp_auth+sasl+cyrus_imapd on suse box...

Regards,

Vinny

Jared Griffith wrote:
That's the one thing I just realized, I forgot to add with my original email, the php.ini settings.  Here are the relevant settings:
include_path = ".:/usr/local/lib/php:/pear/lib:/usr/local/include/php  # There is no /usr/share/php directory
[Session]
session.save_handler = files
session.save_path = "/tmp"
session.use_cookies = 1
; session.use_only_cookies = 1
session.name =
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_file =
session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1

I saw some stuff when I googled previous errors (with the DB.php not being found in the include directory), so for those who experienced the same issue, here is what is installed with pear:
[EMAIL PROTECTED] pear list
Installed packages:
===================
Package              Version State
Archive_Tar          1.1     stable
Auth                 1.2.3   stable
Auth_HTTP            2.1.6   stable
Auth_SASL            1.0.1   stable
Cache_Lite           1.5.2   stable
Console_Getopt       1.2     stable
Crypt_Blowfish       1.0.1   stable
Crypt_RSA            1.0.0   stable
DB                   1.7.6   stable
DBA                  1.1     stable
DB_DataObject        1.7.15  stable
DB_QueryTool         1.0.1   stable
DB_Table             1.2.1   stable
Date                 1.4.6   stable
File                 1.2.2   stable
File_Archive         1.5.3   stable
File_Find            1.2.0   stable
HTML_BBCodeParser    1.1     stable
HTML_Common          1.2.2   stable
HTML_QuickForm       3.2.5   stable
HTML_Template_IT     1.1     stable
Image_Color          1.0.2   stable
Log                  1.9.2   stable
MIME_Type            1.0.0   stable
Mail                 1.1.9   stable
Mail_Mime            1.3.1   stable
Net_SMTP             1.2.7   stable
Net_Socket           1.0.6   stable
Net_UserAgent_Detect 2.0.1   stable
PEAR                 1.3.5   stable
XML_RPC              1.3.1   stable

Pear has the following install settings:
/pear/docs
/pear/ext
/pear/lib
/pear/data
/pear/tests
/pear/cache
/pear/bin
Hence the /pear/lib entry in the php.ini include_path setting.



_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to