ID: 35768 Updated by: [EMAIL PROTECTED] Reported By: jason at thinkingman dot org -Status: Open +Status: Bogus Bug Type: *Compile Issues Operating System: Server 2003 Update 1 PHP Version: 5.1.1 New Comment:
short_tags are disabled by default. Previous Comments: ------------------------------------------------------------------------ [2005-12-21 22:48:16] jason at thinkingman dot org Description: ------------ PHP.EXE outputs the filename.php file as TEXT output instead of executing the code under Windows Server 2003 command line when PHP.INI-recommended is used. PHP.EXE works as normal when NO PHP.INI file is used or when PHP.INI-dist is used. INSANELY ANNOYING BUG -- SPENT **HOURS** ON GOOGLE AND PHP.NET AND FAQ'S AND PHP README DOCS TRYING TO FIGURE OUT WHAT WAS WRONG WITH MY WIN 2003 SERVER AND PHP INSTALL / INI FILE. Reproduce code: --------------- To reproduce: Rename PHP.INI-recommend to PHP.INI and copy to C:\Windows folder or set your env var PHPRC=C:\PHP (or where your PHP.INI is located.) >From the command line run PHP.EXE w/ .php file. Example: C:> php.exe testcode.php Will output file instead of executing. So, you'll get: <? echo "hello world"; ?> instead of: hello world Expected result: ---------------- hello world Actual result: -------------- <? echo "hello world"; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35768&edit=1
