Riddle me this batman does the latest stable version that you just 
configured allow you to set mulitple cookies?

I was able a week or two ago to get them up and running as you have done 
but ran into the problem when tried to use my app's the sessions and then 
mulitple cookie's would work.  The session problem is that php now points 
to your systems /tmp directory which by default is root:root so you need 
to adjust the ownership to allow apache to talk to it but the cookie 
problem is still up in the air as far as I know and I am not going to port 
all of my systems over just yet it is way easier just to go back to apache 
1.3.26 and php 4.0.6.


But congrad on getting it to work I know it took a lot of Dr. Peppers for 
me to get then both to work.....kind of frustrating but helps out your bug 
tracking skills 10 fold.

K-man








Chris Santerre <[EMAIL PROTECTED]>
07/10/2002 05:12 PM

 
        To:     "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
        cc: 
        Subject:        [PHP-INST] RE:  (YES! I DID IT!) Anyone got PHP 4.2.1 and 
Apache 2.0.39 to 
w       ork completely?


 PHP 4.2.1 and Apache 2.0.39 to work 

Finally! Wow, let me see if I can get this right. Here is what I did:

1) Downloaded and installed the following:
                 Latest STABLE php from snaps.php.net (dated 7/10/02 9 AM)
                 pth-1.4.1.tar.gz from ftp.gnu.org/gnu/pth/ (this 'may' 
have helped!)
 
2) reconfigured, apache using:
                  ./configure --prefix=/path/to/apache --with-module=so
                 make clean, make, make install
                 (NOTE: I don't think this was needed, but I wanted clean! 
Also
didn't start it yet.)

3) installed the new STABLE php 4.2.1 and made some changes:
                 In 'path to php'/ext/standard commented out in 
microtime.c line 31 
                 "#ifedf HAVE_SYS_RESOURCE_H" to "/* #ifedf 
HAVE_SYS_RESOURCE_H */"
NO quotes!
                 and also line 33
                 "#endif" to "/* #endif */" No Quotes!
                 I don't know what the problem was. I knew it needed the 
include on
line 32.
                 so this just puts the darn thing in!
                 The previous problems in php_functions.c seemed to be 
fixed, so no
change there.

4) config php:
                 run 'make distclean'
                 ./configure --with-mysql --with-zlib
--with-apxs2=/usr/local/apache/bin/apxs
                 Note: /usr/local/apache is my path! Yours could be
/I/like/grandma/bin/apxs!
                 make clean, make 
                 NOTE: I get like 6 warnings about RLIM_INFINITY being 
redefined
during the make.
                 I believe it has to do with different versions of my 
resource.h.
                 I think this is due to uprading my kernel. Not to worry 
if you get
this.
                 It is just a warning. Has to do with the declaration of 
the size of
it I think.
                 make install

5) back to /usr/local/apache/conf and edit httpd.conf
                 make sure that 'AddType application/x-httpd-php .php' is 
there
                 IT WASN'T! Rumor says it auto places it. HEH!
                 Also make sure 'LoadModule php4_module 
modules/libphp4.so' is
there.
                 It was. Huh??? Oh well.
                 apachectl start 
                 a edit quick helloworld.php
                 open fav web browser, bang! 
                 Scream Haleluyah while dancing a jig! People in office 
look at you
funny.
 
Man I hope I save someone some time!

-----Original Message-----
From: Chris Santerre [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 12:28 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-INST] Anyone got PHP 4.2.1 and Apache 2.0.39 to work
completely?


I have been trying for days. I've read just about everything. I'm going to
now try the latest stable cvs and making sure that the correct line 93 in
php_functions.c is there. I just wanted to know if anyone has had success
yet?

reading like a squirrel on crack,
Chris


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

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



Reply via email to