LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Missing session support in php5 (https://www.linuxquestions.org/questions/linux-server-73/missing-session-support-in-php5-477668/)

mawkish 08-26-2006 07:55 PM

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 :confused:

mawkish 08-26-2006 07:57 PM

Here is my phpinfo
http://www.magnus.ws/phpinfo-copy.htm


All times are GMT -5. The time now is 11:33 PM.