Re: 4.0.1 Release Candidate packaged

From: Date: Mon, 26 Jun 2000 13:27:14 +0000
Subject: Re: 4.0.1 Release Candidate packaged
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22348@lists.php.net to get a copy of this message
> OC>> Well, that's the problem because PHP3 handled this well. > OC>> In PHP3, there was a particular case for DISCARD_PATH and it seems like > OC>> none of the main developers are using it and "forgot" about this. ;) > > Could you please explain what doesn't work? Like bring case along the > lines: I do this and that, expect this and that, but get this and that > instead. There are a lot of code changed since PHP 3, so comparing to it > won't do any good. Well, I thought it would be duplicate with bug reports #4456 #5163 and #5181 but here it is. I won't talk about code because I don't know how to debug PHP yet; I'll only talk about how I compile and what I expect. I compile PHP4 latest snapshot (with modifications from Andi to cgi_main.c) with the following ./configure: ./configure --with-config-file-path=/usr/www/etc/httpd/conf/php_cgi \ --enable-discard-path \ --with-gd=/usr/www/mbin/i386-NetBSD \ --with-mysql \ --with-dbase \ --with-zlib=/usr/www/mbin/i386-NetBSD \ --enable-ftp \ --enable-inline-optimization \ --with-imap=/usr/www/mbin/i386-NetBSD/lib using Apache 1.3.12 with suEXEC (that's why I have to use DISCARD_PATH) on NetBSD with 256MB (also tried Linux, same problem) httpd.conf: AddHandler cgi-script .cgi .php .php3 Then copy the php binary and php.ini (no change to php.ini, not setting user_dir nor root_dir). Set correct rights for php. Execute the following script: #!/usr/www/bin/php/php <?phpinfo()?> Then Premature End of Scripts, also gave me No input file with v.4.0.0 instead of a traditional Internal Server Error in the browser. I'm currently using PHP 3.0.16 with the same setup (./configure nearly identical, except mysql and same binary directory, same rights) and it works flawlessly (CGIs calling Perl, Python, sh also work fine). I'd like to be able to log in a file the different values at different steps of path_translated, etc. is this what I should do ? If yes, how can I do this in a simple way (I wouldn't like to interfere with something else) ? -- Olivier.Cahagne@epita.fr

« previous php.dev (#22348) next »