Date: 06/26/00
- Next message: Evan Klinger: "Re: [PHP-DEV] gethostbyaddr error"
- Previous message: chagenbu <email protected>: "[PHP-DEV] strange crashes"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] 4.0.1 Release Candidate packaged"
- Next in thread: Kristian Koehntopp: "Re: [PHP-DEV] 4.0.1 Release Candidate packaged"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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 <email protected>-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Evan Klinger: "Re: [PHP-DEV] gethostbyaddr error"
- Previous message: chagenbu <email protected>: "[PHP-DEV] strange crashes"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] 4.0.1 Release Candidate packaged"
- Next in thread: Kristian Koehntopp: "Re: [PHP-DEV] 4.0.1 Release Candidate packaged"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

