php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5245 CGI-Executable outputs Corestuff
Submitted: 2000-06-28 09:14 UTC Modified: 2000-06-28 09:19 UTC
From: abe at flaemingnet dot de Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Latest CVS (28/06/2000) OS: Win32
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: abe at flaemingnet dot de
New email:
PHP Version: OS:

 

 [2000-06-28 09:14 UTC] abe at flaemingnet dot de
CGI from shell and Apachemodule worked correct!
Any script passed from the apache to the cgi ouptuts the following stuff:

MZ????@??? ?!?L?!This program cannot be run in DOS mode. $?1†?Pp??Pp??Pp?›L|??Pp?cL~??Pp??PqիPp?pt??Pp?pz??Pp?Rich?Pp?PELLŸX9?  x @@&4&F&"&&,&&?%&?%?%?%?%?%?%j%X% %H%%2%%?$?$?$’$?$ $V$€$l$$:$($?#?#?#?#?# #\#€#j#.#P#8#?"##?"?"?"€%?"?%????h@|@"?%ˆ x!n& :'2'D'$''?&?&?&?&?& &?&‚&z&?&\&P&f&>&4&F&"&&,&&?%&?%?%?%?%?%?%j%X% %H%%2%%?$?$?$’$?$ $V$€$l$$:$($?#?#?#?#?# #\#€#j#.#P#8#?"##?"?"?"€%?"?%:zend_error?php_module_shutdown_wrapper?php_module_startup,zend_bailoutts_resource_ex`core_globals_id?php_header_write _efree?php_register_variable_emalloc?php_headerkexecutor_globals_idtsrm_shutdownjempty_string_persist_alloc”php_execute_scriptnzend_highlightžphp_get_highlight_struct?open_file_for_scanning?php_request_shutdownŠphp_body_writešphp_fopen_primary_script‚zend_llist_destroy{zend_llist_apply?php_print_info?php_printf?php_module_shutdown‹zend_load_extensionzzend_llist_add_element_estrdup?php_request_startup‡zend_llist_init’php_end_ob_buffering?php_output_startup?php_ini_path?sapi_globals_idUcompiler_globals_id?sapi_startuptsrm_startup‡php_alter_ini_entryphp4ts.dllffwrite_iobOfflushjgetenv?sprintfXfprintf^freežprintf?strchrLfclose?rewindPfgetc‘mallocIexit?_fmode?_setjmp3?strrchr=atoiMSVCRT.dll?_exitH_XcptFilterd__p___initenvX__getmainargs_inittermƒ__setusermatherr?_adjust_fdivj__p__commodeo__p__fmode?__set_app_type?_except_handler3?_controlfp˜_read?_strdup?_setmodeh0@d0@l@f@`@@`@`@ @?@ @0@ @CGIcgi HTTP_COOKIEPHP_SELF%s%sSCRIPT_NAME No value specified for variable '%s' No input file specified. SCRIPT_FILENAME+-%s 4.0.1Interactive mode not supported! c:d:z:g:qvisnaeh?vf:REQUEST_METHODGATEWAY_INTERFACESERVER_NAMESERVER_SOFTWAREphpUsage: %s [-q] [-h] [-s] [-v] [-i] [-f ] | { [args...]} -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -f Parse . Implies `-q' -v Version number -c Look for php.ini file in this directory -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -z Load Zend extension . -i PHP information -h This help CONTENT_TYPEPATH_INFOQUERY_STRINGCONTENT_LENGTH1: in flags option not found %c no argument for option %c unknown Error in argument %d, char %d: 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-28 09:19 UTC] stas at cvs dot php dot net
You probably forgot to define PHP as script, not as content file.
And no, you shouldn't post here entire PHP executable, couple of lines would be enough.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 17:01:34 2024 UTC