Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-26-2006, 07:55 PM   #1
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
LQ Newbie
Registered: May 2006
Location: Stockholm
Posts: 4

Original Poster
Rep: Reputation: 0
Here is my phpinfo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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- 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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:24 AM.

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