apache 1.3 and session

Shane Ambler Shane at 007Marketing.com
Mon Sep 12 11:59:29 PDT 2005


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 at 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 at black-buity.vampextream.com:/usr/obj/usr/src/sys/BLACKBUITY  i386
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

-- 

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




More information about the freebsd-ports mailing list