LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-26-2006, 07:55 PM   #1
mawkish
LQ Newbie
 
Registered: May 2006
Location: Stockholm
Posts: 4

Rep: Reputation: 0
Missing session support in php5


Please help, I have a problem with my php5/apache2 installation on Debian Sarge. I don't seem to have session support. I get:
"Fatal error: Call to undefined function session_name() in..." when loading a page containing the session_name() function.

If I had session support I guess it would be visible in phpinfo, but it's not.
Session support are supposed to be enabled in php by default. But I think you can compile without it if you want. I didn't do anything like that, I just installed packages like this:
# apt-get install php5 libapache2-mod-php5 php5-curl php5-gd

So what do I need to do? Activate any module/extension (how)? Or get the source and recompile?
I tried this but it didn't work:
# php5.0-modconf apache2 enable session

Any help appreciated, this is just too weird for me

Last edited by mawkish; 08-26-2006 at 07:59 PM.
 
Old 08-26-2006, 07:57 PM   #2
mawkish
LQ Newbie
 
Registered: May 2006
Location: Stockholm
Posts: 4

Original Poster
Rep: Reputation: 0
Here is my phpinfo
http://www.magnus.ws/phpinfo-copy.htm
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome-session missing in garnome-2.12.2.1 install dombrowsky Linux - Software 7 01-28-2006 02:53 PM
PHP5 FastCGI session errors (Permission Denied) neocookie Linux - General 2 06-07-2005 12:26 PM
KDE Session missing [9.3 Upgrade] Stack Overflow SUSE / openSUSE 1 05-30-2005 03:33 PM
gdm < Session directory empty, config missing..? b0uncer Linux - Software 2 10-11-2003 09:55 AM
Icons missing from desktop with VNC and gnome-session arobinson74 Linux - General 1 12-10-2002 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration