Bug #14857 Updated: php.exe crashed during command: show_source(getenv("SCRIPT_FILENAME"));

From: Date: Tue, 28 May 2002 20:08:27 +0000
Subject: Bug #14857 Updated: php.exe crashed during command: show_source(getenv("SCRIPT_FILENAME"));
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8800@lists.php.net to get a copy of this message
ID: 14857 Updated by: edink@php.net Reported By: pYrania@1337-designz.de -Status: Feedback +Status: Bogus Bug Type: Reproducible crash Operating System: Windows Advanced Server PHP Version: 4.1.1 New Comment: getenv() will get whatever variable was set by the web server. Not a php bug. Previous Comments: ------------------------------------------------------------------------ [2002-05-28 13:01:16] pYrania@1337-designz.de Ok, the problem is getenv("SCRIPT_FILENAME") / gentenv("SCRIPT_NAME") outputs 'c:/php/php.exe' so it's not the show_source, but the getenv function :) ------------------------------------------------------------------------ [2002-05-28 12:48:00] pYrania@1337-designz.de PHP Version 4.2.1 System: Windows NT 5.1 build 2600 Server API: CGI Server Software: Apache/1.3.24 (Win32) Still reproducible :\ show_sorce(__FILE__); works without any problems. ------------------------------------------------------------------------ [2002-05-28 11:50:36] edink@php.net I cannot reproduce this problem. Could you please try with the latest Apache and PHP versions and see if this still happens? ------------------------------------------------------------------------ [2002-01-04 13:55:13] pYrania@1337-designz.de even <?php show_source($_SERVER["SCRIPT_FILENAME"]); ?> will produce this error ------------------------------------------------------------------------ [2002-01-04 13:52:57] pYrania@1337-designz.de During some debug process I tried to display the script with: <?php show_source(getenv("SCRIPT_FILENAME")); ?> This did work on all unix machines i tested .. There is no configure line as you can imagine (WinServer). So all modules of the standart installer version are activated / used. It doesnt output any Errors, and even the error.log of _Apache_ gives no information, BUT it prints out unusefull date like: MZÿÿ¸@躴 Í!¸LÍ!This program cannot be run in DOS mode. ... HTTP_COOKIEPHP_SELF %sErrors parsing %s No syntax errors detected in %s No input file specified. rbPATH_TRANSLATED-+%s Not Implemented After this it shows the php.exe -? options .. I hope it's just a porting bug from liunx -> windows. Regards, Markus Nigbur ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14857&edit=1

« previous php.bugs (#8800) next »