ID: 39472 Updated by: [EMAIL PROTECTED] Reported By: jitudavda at hotmail dot com -Status: Closed +Status: Bogus Bug Type: IIS related Operating System: WinXP SP2 PHP Version: 5.2.0 New Comment:
Not a PHP problem in the first place. Previous Comments: ------------------------------------------------------------------------ [2006-11-16 15:42:34] jitudavda at hotmail dot com Yes, it works with ext modules. I installed on mysql, mssql, pop and smtp. It works fine right now. Threads module is not installed. ------------------------------------------------------------------------ [2006-11-16 15:14:58] jitudavda at hotmail dot com -Uninstalled PHP. -Removed configuration from IIS -Installed PHP -Added configuration for ISAPI dll. -IIS reset 1] Done request for php page. 2] Got the output as expected. I feel the wrong configuration of IIS is the issue here. But see correct configuration was done by me and I'd the same issue. Check the second post at "[11 Nov 4:58pm UTC] " Now I will install the ext modules and perform the same test. May be the problem caused by ext modules only. I will reply here after testing with ext modules. Please give me the ext module bug reporting url. Thank you for all help. ------------------------------------------------------------------------ [2006-11-16 14:56:09] jitudavda at hotmail dot com I've not done any configuration of php with IIS. It's done by the installer itself. I'm now testing with the IIS configuration as noted above. - Use ISAPI version. Though it had the similar issue earler. I will get back soon with the results. Thanks ------------------------------------------------------------------------ [2006-11-16 14:44:25] [EMAIL PROTECTED] How did you configure IIS to use php.exe instead of php-cgi.exe and why? ------------------------------------------------------------------------ [2006-11-16 14:42:21] jitudavda at hotmail dot com ==1] ========================================== - php.ini files from windows folder and D drive are removed. - uninstalled php - remove all the folders and files from the folder D:\PHP - reinstalled the php with only two options selected. - IIS Restarted. Output of the commands you asked to execute. ----------------------------------------------- D:\PHP>php -v PHP 5.2.0 (cli) (built: Nov 2 2006 11:57:36) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies D:\PHP>php -m [PHP Modules] bcmath calendar com_dotnet ctype date dom filter ftp hash iconv json libxml odbc pcre Reflection session SimpleXML SPL standard tokenizer wddx xml xmlreader xmlwriter zlib [Zend Modules] D:\PHP> -------------------------------------------------- ================================================== ==2] ============================================= 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. OUTPUT: Debug display disassembled code and following items in stack. ---------------------------------------------- NTDLL! 7c90eb94() PHP5TS! 10095a48() -------------------------------------------- BELOW IS DISASSEMBLY CODE -------------------------------------------- 7C90EB89 nop 7C90EB8A nop 7C90EB8B mov edx,esp 7C90EB8D sysenter 7C90EB8F nop 7C90EB90 nop 7C90EB91 nop 7C90EB92 nop 7C90EB93 nop 7C90EB94 ret 7C90EB95 lea esp,[esp] 7C90EB9C lea esp,[esp] 7C90EBA0 nop 7C90EBA1 nop 7C90EBA2 nop 7C90EBA3 nop 7C90EBA4 nop 7C90EBA5 lea edx,[esp+8] 7C90EBA9 int 2Eh -------------------------------------------- ==3] ============================================= - Copied the php build versions to the D:\php\ - Following files copied php.exe php5ts.dll php.pdb php5ts.pdb - IIS Reset done. 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. -------------------------------------------------- NTDLL! 7c90eb94() MSVCRT! 77c2f941() MSVCRT! 77c2fafa() MSVCRT! 77c411a0() MSVCRT! 77c41225() zend_stream_stdio_reader(void * 0x77c5fc80, char * 0x01162858, 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 * 0x00011970, unsigned int 2089883889, void * * 0x7ffd5000, int 12648268) line 242 + 9 bytes main(int 0, char * * 0x00000000) line 1109 002850ec() ------------------------------------------------------ ==4] ================================================ POINT 2 AND 3 HAS THE SAME BEHAVIOUR. Point 2 has the installer versions of php.exe and php5ts.dll Point 3 has the local compiled versions of php.exe and php5ts.dll. Note: - Compilation is done with all instructions from PHP team. No edit at any places. - Compilation of php.exe gives the same size of php.exe - Compilation of php5ts.dll is reduced size. ----Installer version php5ts.dll [4589 KB] ----Compiled version php5ts.dll [2693 KB] ----Compiled version of php5ts.pdb [4169 KB] Please ask for any further help from me. Thank you. Jitendra ------------------------------------------------------------------------ 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