Fehler bei Horde

pk-dragon

New Member
Hallöchen, ich hoffe ihr könnt mir helfen.

Folgendes Problem:

Bei der Durchführung von ./scripts/setup.php kommt folgender Fehler:

Fatal error: Call to undefined function: session_set_cookie_params() in /home/www/mail/horde/lib/Horde.php on line 1436

meine PHP.ini:

Code:
session
Session Support 	enabled
Registered save handlers 	files user sqlite
Registered serializer handlers 	php php_binary

Directive	Local Value	Master Value
session.auto_start	Off	Off
session.bug_compat_42	On	On
session.bug_compat_warn	On	On
session.cache_expire	180	180
session.cache_limiter	nocache	nocache
session.cookie_domain	no value	no value
session.cookie_httponly	Off	Off
session.cookie_lifetime	0	0
session.cookie_path	/	/
session.cookie_secure	Off	Off
session.entropy_file	no value	no value
session.entropy_length	0	0
session.gc_divisor	100	100
session.gc_maxlifetime	1440	1440
session.gc_probability	1	1
session.hash_bits_per_character	4	4
session.hash_function	0	0
session.name	PHPSESSID	PHPSESSID
session.referer_check	no value	no value
session.save_handler	files	files
session.save_path	no value	no value
session.serialize_handler	php	php
session.use_cookies	On	On
session.use_only_cookies	Off	Off
session.use_trans_sid	0	0

hat jmd eine Ahnung woran das liegen könnte. oder mir ein Tipp geben könnte ?

Vielen Dank
Mit freundlichem Gruß

pk-dragon
 
Ist das ein selbst kompiliertes PHP?
Welche Version von PHP 4 oder 5?

Sieht fast so aus als hättest du es nicht miteinkompiliert :)
 
hi ja ist selbst komplemiert..musste auf PHP 5.2.8 raufsetzen, da 5.2.7 laut php.net ein Fehler hat.

hm was müsste ih den da noch mit rein setzen?

Danke fürs lesen und helfen

Mit freundlichem Gruß

pk-dragon
 
Hallo,

Dann hast du PHP ohne ausreichend Optionen kompiliert.

Call to undefined function: session_set_cookie_params() - Google-Suche

Erster Treffer:
MySource Matrix Support Forum > Fatal error undefined function session cookie

The only reason it wouldn't be available (that I cant think of) is if your version of PHP was compiled with the --disable-session option.The only reason it wouldn't be available (that I cant think of) is if your version of PHP was compiled with the --disable-session option.

Poste doch mal deinen ./configure-String
 
Hm ne eigentlich hatte ich in Config mit eingetragen hier mein php.ini:

HTML:
'./configure' '--program-prefix=' '--prefix=/usr/local/php5' '--datadir=/usr/share/php5' '--mandir=/usr/share/man/php5' '--bindir=/usr/local/php5/bin' '--exec-prefix=/usr/local/php5' '--includedir=/usr/include/php5' '--sysconfdir=/etc/php5' '--localstatedir=/var' '--with-config-file-path=/etc/php5' '--with-exec-dir=/usr/lib/php5/bin' '--disable-debug' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-sigchild' '--enable-session' '--with-mysql=/usr' '--enable-cli' '--with-pear=/usr/share/pear' '--with-openssl' '--without-pgsql' '--with-gettext' '--with-apxs2=/usr/sbin/apxs2' '--with-imap-ssl' '--with-dom' '--with-mcrypt' '--with-iconv' '--enable-mbstring=all' '--enable-mbregex' '--with-gd' '--with-png-dir=/usr' '--with-jpeg-dir=/usr'

mfg
 
Back
Top