Re: PHP strangeness
From: evla (ericvlaanderen_at_zonnet-dot-nl.no-spam.invalid)
Date: 08/31/04
- Next message: Brian: "Re: Why Linux Won't Win Against Windows - Part II"
- Previous message: David Cook: "Where and how to fetch/build a new kernel?"
- Next in thread: ssunt_at_zdukvt.com: "Re: PHP strangeness"
- Reply: ssunt_at_zdukvt.com: "Re: PHP strangeness"
- Maybe reply: bmeyers: "Re: PHP strangeness"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
with
> sessions turned off. The default is on. They also compiled
> '--without-mysql' but in the /etc/php.ini file you can enable it as
an
> 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
downloading
> the source and recompiling? It worked under 9.0, but that's a big
step
> backwards. There are a number of session options/parameters that
can be
> set in the php.ini file, but none of them look like it will do the
trick
> to me, but I don't really know anything about PHP so the answer may
be
> staring me in the face and I just don't know it.
>
> Thanks...
>
> ...Kevin
>
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
modules
for PHP4 to activate (make a research with PHP). Two of them will be
of
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
send
this advise in case somebody else needs the trick.
Hi
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.
Jacques THOORENS[/quote:59f1f72c93]
==============
Posted through www.w00tlinux.com/bb - free access to Linux newsgroups.
- Next message: Brian: "Re: Why Linux Won't Win Against Windows - Part II"
- Previous message: David Cook: "Where and how to fetch/build a new kernel?"
- Next in thread: ssunt_at_zdukvt.com: "Re: PHP strangeness"
- Reply: ssunt_at_zdukvt.com: "Re: PHP strangeness"
- Maybe reply: bmeyers: "Re: PHP strangeness"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|