Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2005 04:29:23 +0930
From:      Shane Ambler <Shane@007Marketing.com>
To:        whitevamp <whitevamp47@hotmail.com>, FreeBSD Mailing Lists <freebsd-ports@freebsd.org>
Subject:   Re: apache 1.3 and session
Message-ID:  <BF4C0623.3396B%Shane@007Marketing.com>
In-Reply-To: <BAY103-DAV1861A61FB97893F55A4427A19D0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Undefined variable _SESSION will be coming from PHP not apache.

Start by checking your php.ini file you will find a [session] section with
different options.

Check that the apache process can write to session.save_path (default is
/tmp)

Also check that the SESSION option is activated for your PHP build - it is
on by default. 
cd /usr/ports/lang/php5-extensions
make config


On 12/9/2005 19:14, "whitevamp" <whitevamp47@hotmail.com> wrote:

> im trying to run a number of different php scripts and i keep getting
> Undefined variable: _SESSION
> 
> i have unistalled apache and reinstalled it.to no avail
> what am i missing here ?
> 
> and i have serched the web and all the info i  can find say apache is built
> with sessions enabled , and also phpinfo();
> dosnt show session http://www.vampextream.com/phpinfo.php
> 
> 
> here is my sysinfo
> 
> httpd  -v 
> Server version: Apache/1.3.33 (Unix)
> Server built:   Sep  5 2005 16:46:44
> 
> php -v
> 5.0.5 (cli) (built: Sep 11 2005 19:34:38)
> Copyright (c) 1997-2004 The PHP Group
> Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
> 
> uname -a
> FreeBSD black-buity.vampextream.com 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0:
> Tue Sep  6 11:37:51 PDT 2005
> root@black-buity.vampextream.com:/usr/obj/usr/src/sys/BLACKBUITY  i386
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 

-- 

Shane Ambler
Sales Department
007Marketing.com
Shane@007Marketing.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF4C0623.3396B%Shane>