# SAPI/CGI broken on Windows

- Thread: https://externals.io/message/4044
- Original archive: https://news-web.php.net/php.internals/4044
- Started by Sebastian Bergmann on 2003-08-17T12:40:59+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #4044 — Sebastian Bergmann — 2003-08-17T12:40:59+00:00

URL: https://externals.io/message/4044#4044

Using the current CVS of PHP 5's SAPI/CGI on Windows I get the following
  message for every script, even for a simple <?php `phpinfo()`; ?> one:

    No input file specified.

  When running the CGI SAPI from the command-line it hangs after printing
  that message and opens a "Debug Assertion Failed!" popup.

   E:\home\php\php5\Debug_TS>php c:\server\htdocs\index.php
   Status: 404
   Content-type: text/html
   X-Powered-By: PHP/5.0.0b2-dev

   No input file specified.

  Stacktrace:

_free_dbg_lk(void * 0x00f02838, int 1) line 1044 + 48 bytes
_free_dbg(void * 0x00f02838, int 1) line 1001 + 13 bytes
free(void * 0x00f02838) line 956 + 11 bytes
PHP4TS_DEBUG! xmlFreeMutex + 21 bytes
PHP4TS_DEBUG! xmlCleanupGlobals + 11 bytes
PHP4TS_DEBUG! xmlCleanupParser + 25 bytes
zm_shutdown_simplexml(int 1, int 13, void * * * 0x00e342d0) line 1035
module_destructor(_zend_module_entry * 0x00f05290) line 1302 + 28 bytes
zend_hash_apply_deleter(_hashtable * 0x1047d5c0 _module_registry, bucket *
0x00f05228) line 568 + 15 bytes
zend_hash_graceful_reverse_destroy(_hashtable * 0x1047d5c0
_module_registry) line 634 + 13 bytes
zend_shutdown(void * * * 0x00e342d0) line 684 + 10 bytes
php_module_shutdown(void * * * 0x00e342d0) line 1459 + 9 bytes
main(int 2, char * * 0x00e33ed0) line 1535 + 13 bytes
mainCRTStartup() line 338 + 17 bytes

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
