ID:               39472
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jitudavda at hotmail dot com
 Status:           Feedback
 Bug Type:         Unknown/Other Function
 Operating System: WinXP SP2
 PHP Version:      5.2.0
 New Comment:

If php.exe hangs when you request a page through ISS you are
configuring IIS wrong!

php.exe => CLI version of PHP
php-cgi.exe => CGI/FastCGI version
php5isapi.dll => ISAPI version.

php.exe should only be used for command line execution of PHP scripts.


Previous Comments:
------------------------------------------------------------------------

[2006-11-16 13:09:24] [EMAIL PROTECTED]

Please find & delete all php.ini's in your system.
After that make sure you don't have any .dlls from the previous PHP
version installed, delete them if you find any.
Then grab the latest snapshot, install it and run `php.exe -v` and
`php.exe -m`.
If you're still able to reproduce the problem with this two simple
commands - please post *REAL* backtrace (the one that doesn't mention
modules which are not installed).
Thank in advance.

------------------------------------------------------------------------

[2006-11-16 12:56:37] jitudavda at hotmail dot com

CHANDING THE STATUS TO BOGUS HURTS.
PHP version has bug with WinXp, this is a fact.
I expect the bug manager/moderators to help in finding the place,
instead of making the issue as bogus. 

If you need further help, please write here for the step you need me to
perform. 

Below is the current installation of php on WinXP.

OS: WinXP
PHP: php 5.2.0
INSTALLATION OPTIONS: 
   1] \PHP\Program\CLI Executable
   2] \PHP\Web Server Setup\IIS 4+ ISAPI module
   Note: All other options are not installed or marked "donot install"

PERMISSION: IUSER_DEV has Read/Execute permision on all object of
"D:\PHP" <-installed folder.

PROBLEM: Request to any php page hangs the php.exe

Goodluck.

------------------------------------------------------------------------

[2006-11-16 12:40:58] jitudavda at hotmail dot com

The above reply at "[16 Nov 12:14pm UTC] jitudavda at hotmail dot com"
is done after chanding installation without any extension & extras.

------------------------------------------------------------------------

[2006-11-16 12:15:22] [EMAIL PROTECTED]

Oh, yes you do:
+       name    0x01b22100 "threads"
-       functions       0x01b23010
+       fname   0x01b22188 "thread_start"

This is PECL/threads, which has never been officially released.

------------------------------------------------------------------------

[2006-11-16 12:14:56] jitudavda at hotmail dot com

1] Request php page from browser.
2] wait for sometime for any output.
3] Open TaskList.
4] Right click Php.exe and Debug.
5] In MSVC, Break the execution.

Above are the steps to get the output as below in the call stack.
==============================

NTDLL! 7c90eb94()
MSVCRT! 77c2f941()
MSVCRT! 77c2fafa()
MSVCRT! 77c411a0()
MSVCRT! 77c41225()
zend_stream_stdio_reader(void * 0x77c5fc80, char * 0x011638a0, unsigned
int 8192, void * * * 0x00283c80) line 28 + 23 bytes
zend_stream_read(_zend_file_handle * 0x100a0587, char * 0x00283c80,
unsigned int 2636928, void * * * 0x0000004e) line 121 + 22 bytes
lex_scan(_zval_struct * 0x1009cc7a, void * * * 0x00c0e51c) line 5249 +
6 bytes
zendparse(void * 0x1009fd40) line 2975 + 11 bytes
compile_file(_zend_file_handle * 0x10002d85, int 12648140, void * * *
0x00000008) line 3084
zend_execute_scripts(int 269185869, void * * * 0x00000008, _zval_struct
* * 0x00283c80, int 0) line 1090 + 16 bytes
php_execute_script(_zend_file_handle * 0x00285050, void * * *
0x00fa7ce8) line 1758 + 18 bytes
_efree(void * 0x00fa7ce8) line 1660 + 24 bytes
_zval_ptr_dtor(_zval_struct * * 0x00fa7d0c) line 415 + 37 bytes
_zend_hash_add_or_update(_hashtable * 0x100bc77f, char * 0x00fa7278,
unsigned int 4207956, void * 0x0000000e, unsigned int 12647804, void *
* 0x00000004, int 13) line 229 + 6 bytes
php_register_variable_ex(char * 0x1000a501, _zval_struct * 0x00c0fe14,
_zval_struct * 0x00000000, void * * * 0x00000000) line 208 + 128 bytes
_emalloc(unsigned int 43) line 1647 + 24 bytes
_zend_hash_add_or_update(_hashtable * 0x0040214d, char * 0x00c0fecc,
unsigned int 2636928, void * 0x009bffdc, unsigned int 2009291924, void
* * 0x7ffd7000, int 12648268) line 242 + 9 bytes
main(int 0, char * * 0x00000000) line 1109
002850ec()

==============================

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/39472

-- 
Edit this bug report at http://bugs.php.net/?id=39472&edit=1

Reply via email to