mawkish Posted August 29, 2006 Share Posted August 29, 2006 I have a problem with my php5/apache2 installation on Debian Linux. I don't seem to have session support. I get: "[b]Fatal error: Call to undefined function session_name() in...[/b]" 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 (see http://www.magnus.ws/phpinfo-copy.htm).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 the Debian packages like this:# apt-get install php5 libapache2-mod-php5 php5-curl php5-gdDid I miss to install something or were those packages already built without session support? Or did I just miss to enable something? Plz help ??? Quote Link to comment https://forums.phpfreaks.com/topic/19066-no-session-support-in-my-php-installation/ Share on other sites More sharing options...
Corona4456 Posted August 29, 2006 Share Posted August 29, 2006 Hmm... that's odd. According to the php site:[quote]Session support is enabled in PHP by default[/quote]What distro of linux are you using? Quote Link to comment https://forums.phpfreaks.com/topic/19066-no-session-support-in-my-php-installation/#findComment-82483 Share on other sites More sharing options...
mawkish Posted August 29, 2006 Author Share Posted August 29, 2006 I use Debian Sarge. Quote Link to comment https://forums.phpfreaks.com/topic/19066-no-session-support-in-my-php-installation/#findComment-82486 Share on other sites More sharing options...
Corona4456 Posted August 29, 2006 Share Posted August 29, 2006 Yeah this may be more of a debian linux support question than PHP... since it should be enabled by default then they may have disabled it somehow but who knows... maybe you can go to their support forum and find a better answer :). Quote Link to comment https://forums.phpfreaks.com/topic/19066-no-session-support-in-my-php-installation/#findComment-82488 Share on other sites More sharing options...
mawkish Posted August 29, 2006 Author Share Posted August 29, 2006 Yeah, with a heavy heart I will turn to the Linux forums, damn that Tux...Anyway, from this post I learnt that I didn't miss any obvious php setting, right.Thanks!Maybe just those installation packages were weired --> reinstall, with other servers in my /etc/apt/source.list. Quote Link to comment https://forums.phpfreaks.com/topic/19066-no-session-support-in-my-php-installation/#findComment-82505 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.