|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-11-16 23:40 UTC] davidphp at limegreensocks dot com
[2011-08-24 16:18 UTC] johnphayes at gmail dot com
[2011-08-24 16:23 UTC] johnphayes at gmail dot com
[2011-08-24 17:02 UTC] johnphayes at gmail dot com
[2012-03-26 16:18 UTC] andrew dot king at simail dot co dot uk
[2013-01-08 09:35 UTC] xandra_18ro at yahoo dot com
[2013-01-08 15:08 UTC] johnphayes at gmail dot com
[2013-03-19 15:34 UTC] ben at imperialwebdesigns dot com
[2013-10-18 05:23 UTC] igorhmm at gmail dot com
[2013-12-01 20:11 UTC] jzdd at o2 dot pl
[2015-10-30 11:49 UTC] nicholas dot owens at Seiko dot co dot uk
[2018-01-22 18:58 UTC] rodman dot tim at gmail dot com
[2020-06-25 14:57 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-06-25 14:57 UTC] cmb@php.net
[2020-07-05 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 08:00:01 2025 UTC |
Description: ------------ The php-cgi.exe will crash after every second refresh when I make an instance of the DOTNET class. The Website is hostet via IIS 7 and PHP is configured as FastCGI module. When I configure PHP on IIS as CGI module everything works fine, but I can not do without FastCGI. I have made a change in the com_dotnet.c file in function php_com_dotnet_rshutdown. The variable called stuff from type dotnet_runtime_stuff will not be released like in the function php_com_dotnet_mshutdown. So I have added this two lines to the function php_com_dotnet_rshutdown: free(stuff); COMG(dotnet_runtime_stuff) = NULL; After that I have compiled PHP 5.3.3 with Visual Studio 2008 (VC9) x86 with almost the same configuration like in the PHP 5.3.3 nts version but without zlib: configure "--enable-snapshot-build" "--enable-debug-pack" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci" "--with-oci8" "--with-oci8-11g" "--with-enchant=shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet" "--with-mcrypt=static" "--disable-zlib" The include and lib files are relative to the configuration file (in the deps folder). I have earned following error and that's why I have disabled zlib: php5.dll.def : error LNK2001: unresolved external symbol compressBound php5.dll.def : error LNK2001: unresolved external symbol deflateBound php5.dll.def : error LNK2001: unresolved external symbol deflatePrime php5.dll.def : error LNK2001: unresolved external symbol gzclearerr php5.dll.def : error LNK2001: unresolved external symbol gzungetc php5.dll.def : error LNK2001: unresolved external symbol inflateBack php5.dll.def : error LNK2001: unresolved external symbol inflateBackEnd php5.dll.def : error LNK2001: unresolved external symbol inflateBackInit_ php5.dll.def : error LNK2001: unresolved external symbol inflateCopy php5.dll.def : error LNK2001: unresolved external symbol zlibCompileFlags The error in the com_dotnet.c file was the error, because now with the new compiled version, fastcgi will not be terminated. Is the zlib extension necessary for complex php websites like Joomla? Because now the compiled php version can interpret the sample shown below and it can interpret simple php scripts, but when I try to load a Joomla site, the FastCGI will crash. What is wrong with the made configuration? Can you give me an important hint of how to compile php5.3.3 like in the original php version? Best regards, JeyB Test script: --------------- <?php try { $stack = new DOTNET("mscorlib", "System.Collections.Stack"); $stack->Push(".Net"); $stack->Push("Hello "); echo $stack->Pop() . $stack->Pop(); } catch(Exception $lEx) { echo "Error occurred:<br>".$lEx->getMessage(); } ?>