PhpNetClassLibrary is not loading in .net 64bit ASP.Net 2.0
Posted: January 4th, 2013, 10:23 am
We have an web application, which is using phalanger2.0(manual configuration in machine.config) working fine in all the scenarios like 32bit with .net 4.0 Integrated mode,
32bit with .net 2.0 Integrated mode, and
64bit with .net 4.0 Integrated mode.But 64bit with .net 2.0 Integrated mode is giving problem with PhpNetClassLibrary.Sometime we got error like "Call to undefined function: date_default_timezone_set".
Below is the stack trace error details
" at PHP.Core.ScriptContext.GuardedCall[TData,TResult](Converter`2 routine, TData data, Boolean allowUserExceptions) at PHP.Core.ScriptContext.Include(String relativeSourcePath, Boolean once) at Sas.Misc.initIncludes() at Sas.UserContext.enter() at Sas.UserContext.registerApplication(String appDomain, String caIP) at DRVLoginDemo._Default.doRegister(Object sender, EventArgs e)"
We guess the PhpNetClassLibrary is not loading properly for .net 2.0 in 64bit machine.
The application is working fine all the environments except 64bit windows server2008 R2 with .net 2.0 Integrated mode.
If we enable the option "support 32bit application" to TRUE in IIS and added configurations in 32bit machine.config everyting is working well.
32bit with .net 2.0 Integrated mode, and
64bit with .net 4.0 Integrated mode.But 64bit with .net 2.0 Integrated mode is giving problem with PhpNetClassLibrary.Sometime we got error like "Call to undefined function: date_default_timezone_set".
Below is the stack trace error details
" at PHP.Core.ScriptContext.GuardedCall[TData,TResult](Converter`2 routine, TData data, Boolean allowUserExceptions) at PHP.Core.ScriptContext.Include(String relativeSourcePath, Boolean once) at Sas.Misc.initIncludes() at Sas.UserContext.enter() at Sas.UserContext.registerApplication(String appDomain, String caIP) at DRVLoginDemo._Default.doRegister(Object sender, EventArgs e)"
We guess the PhpNetClassLibrary is not loading properly for .net 2.0 in 64bit machine.
The application is working fine all the environments except 64bit windows server2008 R2 with .net 2.0 Integrated mode.
If we enable the option "support 32bit application" to TRUE in IIS and added configurations in 32bit machine.config everyting is working well.