Re: PHP strangeness
From: evla (ericvlaanderen_at_zonnet-dot-nl.no-spam.invalid)
Date: 31 Aug 2004 17:46:49 -0400
> Jacques Thoorenswrote:
Kevin & Theresa Miller a écrit :
> I'm trying to set up phprojekt on 9.1 and get the following error:
> Fatal error: Call to undefined function: session_start() in
> /srv/www/htdocs/phprojekt/setup.php on line 8
> Running phpinfo.php (in phpMyAdmin) I get this:
> Note the '--disable-session' option. Apparently SuSE compiled PHP
> sessions turned off. The default is on. They also compiled
> '--without-mysql' but in the /etc/php.ini file you can enable it as
> extension. I've googled all over the place, but can't find out
> where/how to enable sessions support. Can it be done w/o
> the source and recompiling? It worked under 9.0, but that's a big
> backwards. There are a number of session options/parameters that
> set in the php.ini file, but none of them look like it will do the
> to me, but I don't really know anything about PHP so the answer may
> staring me in the face and I just don't know it.
I agree with you this is a strange choice! Whoever can use PHP without
mySQL nor sessions ? I thought I had to recompile again PHP (I did it
once years ago, it took over an hour after downloading the source).
Fortunately, I had the idea to run YAST and found there was some
for PHP4 to activate (make a research with PHP). Two of them will be
interest for you : mySQL and session. After installing them, you just
have to restart Apache and go...
Maybe you have found it by yourselves since posting your message. I
this advise in case somebody else needs the trick.
I have the same problem. I am running Suse 9.1, with PHP and MySQL. I
need session support but I am pretty new to Linux. Can you tell me
how to enable sessions on my PHP server (which packages do I need and
where can I find them)
Happy PHP programming.
Posted through www.w00tlinux.com/bb - free access to Linux newsgroups.