php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17718 session.entropy_length doesnt work
Submitted: 2002-06-11 18:55 UTC Modified: 2002-06-11 19:13 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: axr7993 at rit dot edu Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.2.1 OS: Mac OS X 10.1.5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: axr7993 at rit dot edu
New email:
PHP Version: OS:

 

 [2002-06-11 18:55 UTC] axr7993 at rit dot edu
Problem: New sessions are always started with an entropy 
length of 32. I've tried setting my session.entropy_length 
variable to values ranging from 1 to 512. According to 
phpinfo() the value is being read correctly from the 
php.ini file.

I have tried /dev/random and /dev/urandom as my entropy 
file. I get the same results either way.

A copy of my config file: http://
odie.digitalexpressions.nu/alex.digitalexpressions.nu/
php.ini

My configure command: './configure' '--disable-cli' '--
with-apxs' '--with-mysql' '--with-pgsql' '--with-gd=/usr/
local' '--with-png-dir=/usr/local' '--with-zlib-dir=/usr' 
'--with-jpeg-dir=/usr/local' '--with-freetype-dir=/usr/
local' '--with-t1lib=/usr/local' '--enable-trans-sid' '--
enable-exif' '--with-xml' '--enable-wddx' '--with-curl=/
usr/local' '--with-pdflib=/usr/local' '--enable-ftp' '--
enable-mbstring' '--enable-mbstr-enc-trans' '--with-ldap' 
'--enable-xslt' '--with-xslt-sablot=/usr/local' '--with-
imap=../imap-2001a' '--enable-dbx' '--enable-dbase' '--
with-mcrypt=/usr/local' '--enable-sockets'

System info: Darwin primavera.entropy.ch 5.4 Darwin Kernel 
Version 5.4: Wed Apr 10 09:27:47 PDT 2002; root:xnu/xnu-
201.19.3.obj~1/RELEASE_PPC Power Macintosh powerpc

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-11 19:13 UTC] sniper@php.net
RTFM: http://www.php.net/manual/en/ref.session.php

This is not a bug.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 04:00:01 2026 UTC