>Number: 5240 >Category: os-windows >Synopsis: php3's SCRIPT_NAME, SCRIPT_FILENAME values are different from >Unix >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Nov 3 07:20:00 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.9 >Environment: NT 4.0 Server with SP5 >Description: I have executed a program written in php3 on Linux and NT (on IIS and Apache). The program is using SCRIPT_NAME, it works on NT/IIS and Linux/Apache, but not on NT/Apache.
SCRIPT_NAME, SCRIPT_FILENAME values are as follows: 1. NT/IIS SCRIPT_NAME = /script/debug.php3 SCRIPT_FILENAME = 2. Linux/Apache (using mod_php3 module) SCRIPT_NAME = /script/debug.php3 SCRIPT_FILENAME = /home/httpd/ibbs/script/debug.php3 3. NT/Apache SCRIPT_NAME = /php3/php.exe SCRIPT_FILENAME = c:/program files/php3/php.exe As you can see, it's the php executables not a script file name. My program should run on multiple platforms. >How-To-Repeat: Just print out environment variables. >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]