Re: PHP Session Errors

2005-08-28 Thread Nicolas Blais
On August 28, 2005 04:11 pm, Beecher Rintoul wrote:
 I'm trying to get a new php install  configured, but I'm getting the
 following error when calling session_start ()

 Fatal error: Call to undefined function session_start()
 in /usr/local/www/akparadise/session.php on line 4

 Does someone have a suggestion? I've been through php.ini and lots of man
 pages but I must be missing something.

 The box is running 7.0-CURRENT with Apache2 and
 mod_php5-5.0.4_2,1, both installed from ports.

 Thanks,

 Beech

Do you have /www/php5-session installed also?
-- 
FreeBSD 7.0-CURRENT #0: Sat Aug 27 13:03:30 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://66.130.198.54:8081/security/nb_root.asc


pgpAkm6t9EABO.pgp
Description: PGP signature


Re: PHP Session Errors

2005-08-28 Thread Beecher Rintoul
On Sunday 28 August 2005 12:14 pm, Nicolas Blais wrote:
 On August 28, 2005 04:11 pm, Beecher Rintoul wrote:
  I'm trying to get a new php install  configured, but I'm getting the
  following error when calling session_start ()
 
  Fatal error: Call to undefined function session_start()
  in /usr/local/www/akparadise/session.php on line 4
 
  Does someone have a suggestion? I've been through php.ini and lots of man
  pages but I must be missing something.
 
  The box is running 7.0-CURRENT with Apache2 and
  mod_php5-5.0.4_2,1, both installed from ports.
 
  Thanks,
 
  Beech

 Do you have /www/php5-session installed also?

No I didn't. Thanks I'll get that installed.

Beech

-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---











___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP Session Errors

2005-08-28 Thread Nikolas Britton
On 8/28/05, Beecher Rintoul [EMAIL PROTECTED] wrote:
 I'm trying to get a new php install  configured, but I'm getting the following
 error when calling session_start ()
 
 Fatal error: Call to undefined function session_start()
 in /usr/local/www/akparadise/session.php on line 4
 
 Does someone have a suggestion? I've been through php.ini and lots of man
 pages but I must be missing something.
 
 The box is running 7.0-CURRENT with Apache2 and
 mod_php5-5.0.4_2,1, both installed from ports.
 

Why are you using -CURRENT ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: PHP Session Errors

2005-08-28 Thread Daniel Eriksson
Beecher Rintoul wrote:

 I'm trying to get a new php install  configured, but I'm 
 getting the following 
 error when calling session_start ()

What you probably want is all of the common extensions. Check out
/usr/ports/lang/php5-extensions for a meta-port that will install what
you need.

/Daniel Eriksson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP Session Errors

2005-08-28 Thread Beecher Rintoul
On Sunday 28 August 2005 01:54 pm, Nikolas Britton wrote:
 On 8/28/05, Beecher Rintoul [EMAIL PROTECTED] wrote:
  I'm trying to get a new php install  configured, but I'm getting the
  following error when calling session_start ()
 
  Fatal error: Call to undefined function session_start()
  in /usr/local/www/akparadise/session.php on line 4
 
  Does someone have a suggestion? I've been through php.ini and lots of man
  pages but I must be missing something.
 
  The box is running 7.0-CURRENT with Apache2 and
  mod_php5-5.0.4_2,1, both installed from ports.

 Why are you using -CURRENT ?

The box is a test server. Anyway, thanks to everyone who responded. I was 
missing the session extention, now it works fine.

Beech
-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---











___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP Session Errors

2005-08-28 Thread Nikolas Britton
On 8/28/05, Daniel Eriksson [EMAIL PROTECTED] wrote:
 Beecher Rintoul wrote:
 
  I'm trying to get a new php install  configured, but I'm
  getting the following
  error when calling session_start ()
 
 What you probably want is all of the common extensions. Check out
 /usr/ports/lang/php5-extensions for a meta-port that will install what
 you need.
 

Installing the Horde application framework meta-port works well too
www/horde-php5-3.0.5, www/horde (for php4), and mail/imp. One of the
quickest ways to get a PHP/Perl/SQL/LDAP/IMAP server up and running.
It has meny build options like switching MySQL out for PostgreSQL etc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]