Re: [PHP] Sessions Issue

2005-08-03 Thread Tom Ray [Lists]
Yeah, I thought about that. But to be honest, I don't know how to 
recompile with builds from the CD/rpms. This is the first time I've ever 
done it this way. So if I get the latest RPM and install it it should 
activate session right? And then I just need to restart apache2 and I 
should be good?


Burhan Khalid wrote:



On Jul 29, 2005, at 8:07 PM, Tom Ray [Lists] wrote:

We built a box about 7 months or so ago using the SuSE 9.1 cd's,  
straight install from the CDs. While I've read that sessions are  
turned on by default, when we try to call on the sessions functions  
(like with phpOpenChat or start_session()) we get calls to  undefined 
function errors. This is leading me to belive that  sessions are 
disabled for some reason. I need to enable the  sessions so I have a 
few questions


1) Can I do this without recompiling?
2) If I can't, how do I recompile this since I used the SuSE cds?

It's SuSE 9.1 running Php 4.3.4 with APache 2.0.49



I don't *think* there is a separate module/rpm for sessions, so you  
are off to a recompile job.


While you are it, upgrade your PHP to the latest stable version.  
4.3.4 is quite old.  Maybe there is a new package for SuSE that does  
it? (not really familiar with SuSE).


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sessions Issue

2005-08-03 Thread Tom Ray [Lists]
Again, this won't affect anything since I installed from the CD's and 
I've always noticed that things installed via CD/rpm have different 
install paths then source. I'm worried it will look in the wrong spot 
for Apache...but that could be a un-needed worry.


Rory Browne wrote:


On 7/29/05, Tom Ray [Lists] [EMAIL PROTECTED] wrote:
 


We built a box about 7 months or so ago using the SuSE 9.1 cd's,
straight install from the CDs. While I've read that sessions are turned
on by default, when we try to call on the sessions functions (like with
phpOpenChat or start_session()) we get calls to undefined function
errors. This is leading me to belive that sessions are disabled for some
reason. I need to enable the sessions so I have a few questions

1) Can I do this without recompiling?
   



Don't know - Don't have SuSE

 


2) If I can't, how do I recompile this since I used the SuSE cds?
   



Head to www.php.net and hit the downloads section. 


unArchive the source, and type ./configure --help to get a list of the
compilabel extensions. Once you're done, you can ./configure
--with-this --without-that --enable this-thing --disable-that-thing

The compile instructions(a file called INSTALL AFAIR) and the PHP
manual are among the best docs I've ever seen.

 


It's SuSE 9.1 running Php 4.3.4 with APache 2.0.49

any help would be great!

Thanks!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


   



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sessions Issue

2005-08-02 Thread Rory Browne
On 7/29/05, Tom Ray [Lists] [EMAIL PROTECTED] wrote:
 We built a box about 7 months or so ago using the SuSE 9.1 cd's,
 straight install from the CDs. While I've read that sessions are turned
 on by default, when we try to call on the sessions functions (like with
 phpOpenChat or start_session()) we get calls to undefined function
 errors. This is leading me to belive that sessions are disabled for some
 reason. I need to enable the sessions so I have a few questions
 
 1) Can I do this without recompiling?

Don't know - Don't have SuSE

 2) If I can't, how do I recompile this since I used the SuSE cds?

Head to www.php.net and hit the downloads section. 

unArchive the source, and type ./configure --help to get a list of the
compilabel extensions. Once you're done, you can ./configure
--with-this --without-that --enable this-thing --disable-that-thing

The compile instructions(a file called INSTALL AFAIR) and the PHP
manual are among the best docs I've ever seen.

 
 It's SuSE 9.1 running Php 4.3.4 with APache 2.0.49
 
 any help would be great!
 
 Thanks!
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sessions Issue

2005-08-02 Thread Jason Motes




We built a box about 7 months or so ago using the SuSE 9.1 cd's,
straight install from the CDs. While I've read that sessions are turned
on by default, when we try to call on the sessions functions (like with
phpOpenChat or start_session()) we get calls to undefined function
errors. This is leading me to belive that sessions are disabled for some
reason. I need to enable the sessions so I have a few questions

1) Can I do this without recompiling?



Don't know - Don't have SuSE




In YaST, goto install/remove software and do a search on php.
Is php4-session installed??

I am running SuSE 9.1 and sessions work fine for me.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sessions Issue

2005-08-01 Thread Burhan Khalid


On Jul 29, 2005, at 8:07 PM, Tom Ray [Lists] wrote:

We built a box about 7 months or so ago using the SuSE 9.1 cd's,  
straight install from the CDs. While I've read that sessions are  
turned on by default, when we try to call on the sessions functions  
(like with phpOpenChat or start_session()) we get calls to  
undefined function errors. This is leading me to belive that  
sessions are disabled for some reason. I need to enable the  
sessions so I have a few questions


1) Can I do this without recompiling?
2) If I can't, how do I recompile this since I used the SuSE cds?

It's SuSE 9.1 running Php 4.3.4 with APache 2.0.49


I don't *think* there is a separate module/rpm for sessions, so you  
are off to a recompile job.


While you are it, upgrade your PHP to the latest stable version.  
4.3.4 is quite old.  Maybe there is a new package for SuSE that does  
it? (not really familiar with SuSE).


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sessions Issue

2005-07-31 Thread Tom Ray [Lists]
phpinfo() says that sessions are disabled. So, between that and the fact 
I get the undefined function errors when I try to use session_start() or 
other session commands, I'm under the strong impression that sessions 
are disabled.


So this leads me back to my original questions, can I activate sessions 
without recompiling? And if I can't, how do I recompile since I used the 
SuSE cd's and YasT?




John Nichel wrote:


Tom Ray [Lists] wrote:

We built a box about 7 months or so ago using the SuSE 9.1 cd's, 
straight install from the CDs. While I've read that sessions are 
turned on by default, when we try to call on the sessions functions 
(like with phpOpenChat or start_session()) we get calls to undefined 
function errors. This is leading me to belive that sessions are 
disabled for some reason. I need to enable the sessions so I have a 
few questions


1) Can I do this without recompiling?
2) If I can't, how do I recompile this since I used the SuSE cds?

It's SuSE 9.1 running Php 4.3.4 with APache 2.0.49

any help would be great!



What does phpinfo() say?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sessions Issue

2005-07-31 Thread Rasmus Lerdorf
Tom Ray [Lists] wrote:
 phpinfo() says that sessions are disabled. So, between that and the fact
 I get the undefined function errors when I try to use session_start() or
 other session commands, I'm under the strong impression that sessions
 are disabled.
 
 So this leads me back to my original questions, can I activate sessions
 without recompiling? And if I can't, how do I recompile since I used the
 SuSE cd's and YasT?

Perhaps SuSE has a separate php-sessions package?  It would be a bit
crazy to do it that way, but it is possible to build the session
extension as a standalone extension.

-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Sessions Issue

2005-07-29 Thread Tom Ray [Lists]
We built a box about 7 months or so ago using the SuSE 9.1 cd's, 
straight install from the CDs. While I've read that sessions are turned 
on by default, when we try to call on the sessions functions (like with 
phpOpenChat or start_session()) we get calls to undefined function 
errors. This is leading me to belive that sessions are disabled for some 
reason. I need to enable the sessions so I have a few questions


1) Can I do this without recompiling?
2) If I can't, how do I recompile this since I used the SuSE cds?

It's SuSE 9.1 running Php 4.3.4 with APache 2.0.49

any help would be great!

Thanks!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Sessions Issue

2005-07-29 Thread John Nichel

Tom Ray [Lists] wrote:
We built a box about 7 months or so ago using the SuSE 9.1 cd's, 
straight install from the CDs. While I've read that sessions are turned 
on by default, when we try to call on the sessions functions (like with 
phpOpenChat or start_session()) we get calls to undefined function 
errors. This is leading me to belive that sessions are disabled for some 
reason. I need to enable the sessions so I have a few questions


1) Can I do this without recompiling?
2) If I can't, how do I recompile this since I used the SuSE cds?

It's SuSE 9.1 running Php 4.3.4 with APache 2.0.49

any help would be great!


What does phpinfo() say?

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php