[imp] PHP/Session counter problem
Vincent Magnin
vink@lx-soft.com
Mon, 15 Apr 2002 12:49:40 +0200
The problem is simple: Session counter won't increment. (in test.php)
(and I've YES to all capabilities int test.php.)
I think I'm doing all right, but it doesn't work.
If I install an older version of php (4.0.5) the session counter work (using the
same php.ini config file), but this version of php is too old to install the new
version of IMP/HORDE.
I'm using Debian (sparc) with:
- IMP/HORDE (latest CVS)
- Apache 1.3.23
- Php 4.1.2-3 (with modules: php4-cgi, php4-dev, php4-domxml, php4-gd,
php4-imap, php4-ldap, php4-mcal, php4-mhash, php4-mysql, php4-pear,
php4-pgsql, php4-snmp).
I've tried the same configuration but on a debian/i386 and it works! I've
compared both phpinfo() and see no difference. Any ideas?
I've set in my php.ini this:
session.save_path = /tmp
session.use_cookies = 1
session.name = "PHPSESSID"
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
magic_quotes_gpc = Off
magic_quotes_runtime = Off
here is the configure line for php4, probably something is missing:
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=php'
'--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--disable-debug'
'--enable-memory-limit' '--enable-calendar' '--enable-sysvsem'
'--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath'
'--with-bz2' '--enable-ctype' '--with-db2' '--with-iconv' '--with-ndbm'
'--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext'
'--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop'
'--enable-sockets'
'--enable-wddx' '--with-xml=/usr' '--with-expat-dir=/usr' '--enable-yp'
'--with-zlib' '--without-pgsql' '--disable-static' '--with-layout=GNU'
'--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-zlib-dir=/usr'
'--with-gd=shared,/usr' '--with-jpeg-dir=shared,/usr'
'--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr'
'--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr'
'--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr'
'--with-mm' '--with-mysql=shared,/usr' '--with-unixODBC=shared,/usr'
'--with-recode=shared,/usr' '--enable-xslt' '--with-xslt-sablot=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-sybase-ct=shared,/usr'
'--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'