From owner-freebsd-questions@FreeBSD.ORG Tue Jul 31 16:43:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B673816A41A for ; Tue, 31 Jul 2007 16:43:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 077D413C467 for ; Tue, 31 Jul 2007 16:43:38 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.1/8.14.1) with ESMTP id l6VGhJSg098011; Tue, 31 Jul 2007 17:43:21 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=permerror; spf=permerror X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk l6VGhJSg098011 Message-ID: <46AF66A7.9000503@infracaninophile.co.uk> Date: Tue, 31 Jul 2007 17:43:19 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.5 (X11/20070721) MIME-Version: 1.0 To: Bram Kuijper References: <46AE6A04.2000107@rug.nl> In-Reply-To: <46AE6A04.2000107@rug.nl> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 31 Jul 2007 17:43:31 +0100 (BST) X-Virus-Scanned: ClamAV 0.91.1/3835/Tue Jul 31 14:59:27 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00, DKIM_POLICY_SIGNSOME,DKIM_POLICY_TESTING,DK_POLICY_SIGNSOME,NO_RELAYS autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: php4 to php5 means exit session functions? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 16:43:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Bram Kuijper wrote: > Hi all, > > I am trying to update php4 to php5 on my FreeBSD 6.1-server, by using > the following 'manual': > http://lists.freebsd.org/pipermail/freebsd-questions/2006-July/127059.html > > However, now I get error messages like " *Fatal error*: Call to > undefined function session_start()*". > This is strange, because I _did_ also update php5-session and > php5-extensions. I did restart apache, so what else can be wrong? This > is the configure command I used: > > *'./configure' '--enable-versioning' '--with-layout=GNU' > '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' > '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' > '--program-prefix=' '--enable-fastcgi' > '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' > '--with-zend-vm=CALL' '--prefix=/usr/local' > * > anyone a clue how to get the session functionality back? thanks. If you're correctly following the instructions I wrote in the message you quoted, then you would never run configure directly. The ports system does it all for you. Do you have a php-session port installed? Does /usr/local/etc/php/extensions.ini contain the line: extension=session.so What do you get if you run this command? % php -r 'phpinfo();' | grep -i session Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGr2an8Mjk52CukIwRCPvdAJ9jY2Gq0hTmoLimhhNZF73/WTfAZACfYE68 WZ97WG94IeHeqj2F6Y7quyI= =+3C3 -----END PGP SIGNATURE-----