Well, i would rather not have to recompile becuase of all the problems i had compiling with mod_perl and mod_ssl together with apache so does anyone else have any ideas how to get files to work??? anyone else have this problem? what gives?
Rick ----- Original Message ----- From: "Ray Hunter" <[EMAIL PROTECTED]> To: "Rick Kukiela" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 1:33 PM Subject: Re: [PHP] some one PLEASE help me! > you need to compile php with-mm and then you need to edit your php.ini file > to use mm instead of files. this increases your php performance for > sessions. > > Check you phpinfo() to see if you have mm compiled in and then edit your > php.ini file like this: > > session.save_handler = mm > > > S RAY HUNTER > email: [EMAIL PROTECTED] > www: http://www.venticon.com > aim: spinebl8d3 > > > > ----- Original Message ----- > From: "Rick Kukiela" <[EMAIL PROTECTED]> > To: "Ray Hunter" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, June 21, 2002 12:25 PM > Subject: Re: [PHP] some one PLEASE help me! > > > > how do u do that? > > ----- Original Message ----- > > From: "Ray Hunter" <[EMAIL PROTECTED]> > > To: "Rick Kukiela" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > Sent: Friday, June 21, 2002 1:16 PM > > Subject: Re: [PHP] some one PLEASE help me! > > > > > > > Why don't you try using mm for the sessions...then you do not have to > > write > > > to disk, it is all in memory... > > > > > > > > > > > > RAY HUNTER > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rick Kukiela" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, June 21, 2002 12:09 PM > > > Subject: [PHP] some one PLEASE help me! > > > > > > > > > > Ok, I have never, in my entire life, have such a persistant little > > freakin > > > > problem with a programming language... It started out while i was > > running > > > > 4.1.2 where sessions would not write to the disk properly. I > researched > > > and > > > > found a bug. I couldnt get php properly upgraded... dont know why so i > > had > > > > to whip out the whole system and start from scratch. After doing this > I > > am > > > > now running Apache 1.3.26, php 4.2.1 and the os is Freebsd > 4.6-Release, > > > > platform i386. > > > > > > > > I just want to do some simple authentication with sessions so this is > > the > > > > session code in the script: > > > > > > > > $start_time = mktime(); > > > > error_reporting(2047); > > > > session_start(); > > > > session_register("encrypted"); > > > > session_register("user"); > > > > session_register("start_time"); > > > > session_register("cdomain"); > > > > session_write_close(); > > > > header("Location: blalbalballafdskljf"); > > > > > > > > i even tried that same code but instead of using session_register i > > > assigned > > > > the vars manually by doing like $_SESSION['encrypted'] = $encrypted; > but > > > > that produced the same errors as using session_register. > > > > > > > > I tried with reg_globals on and off. no difference. > > > > > > > > Its set to write in the /tmp directory which has the following > > > permissions. > > > > > > > > drwxrwxrwt 3 root wheel 512 Jun 21 13:00 tmp > > > > > > > > I also tried changing it to /usr/local/apache/sessions which has the > > > > permissions: > > > > > > > > drwxrwxrwx 3 nobody nobody 512 Jun 21 12:36 sessions > > > > > > > > Nothing works NOTHING AT ALL, i cant get this shit to work for the > life > > of > > > > me and its really irritating. apache error_logs report NOTHING at all > > and > > > if > > > > php has its own log i have no idea where it is..... > > > > > > > > Even if you cant directly tell me what the problem is, if there is a > way > > > to > > > > even find out what could be causeing it please let me know, this is > > > killing > > > > me. > > > > > > > > Oh and here is the output i get when i run the script. > > > > > > > > -------- > > > > Warning: Failed to write session data (files). Please verify that the > > > > current setting of session.save_path is correct (/tmp) in > > > > /usr/local/apache/htdocs/cp/login.php on line 43 > > > > > > > > Warning: Cannot add header information - headers already sent by > (output > > > > started at /usr/local/apache/htdocs/cp/login.php:43) in > > > > /usr/local/apache/htdocs/cp/login.php on line 45 > > > > > > > > --------- > > > > Thanks > > > > Rick > > > > > > > > > > > > -- > > > > 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