Contensive Posted March 10, 2011 Share Posted March 10, 2011 I am trying to integrate php scripting into my application using the windows ScriptControl object. VBScript and JScript are working well on a broad variety of platforms including Vista,XP, server 2008r2/2003/2000. Can not get php scripting to work. This wsf file pops-up a 'hello world' window, but wscript crashes. <job id="test"> <script language="PHPScript"> $WScript->Echo("Hello World!"); </script> </job> and I get this: Faulting application WScript.exe, version 5.7.0.18005, time stamp 0x49e01e60, faulting module php5ts.dll, version 5.3.5.0, time stamp 0x4d24d421, exception code 0xc0000005, fault offset 0x000915f5, process id 0xa0c, application start time 0x01cbdc073a834083. Here's what I have done. On Server 2008r2 and my vista box... I installed php 5.3.5 copied php5activescript.dll (5.2.7.7) in the php folder regsvr32 php5activescript.dll (successfully) found and changed registry key [HKEY_CLASSES_ROOT\CLSID\{CF108A38-59A9-468A-AF45-1368D7855DAE}\InprocServer32] to point to php5activescript.dll not regsvr32.exe. (from http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d7fb1088-5896-48db-9db8-43739feceaee) Any thoughts? Quote Link to comment https://forums.phpfreaks.com/topic/230202-anyone-been-able-to-get-php5sctivescript-working/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.