[FX.php List] Can't connect with manually installed php on Windows 2008 Server

Chris Hansen chris at iViking.org
Thu Jul 24 10:32:54 MDT 2014


Jonathan,

When I visit the page I see a cURL error.  Are you able to connect to that machine and perform the cURL query directly?

Best,

--Chris

On Jul 24, 2014, at 8:37 AM, jschwartz <jschwartz at exit445.com> wrote:

> Fx’ers…
> 
> OK. Back to the original problem of not being able to connect  to WEP on this new Windows Server 2008 with independent PHP.
> 
> The XML statement works (you have to click past the warning screen):
> 
> https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7&-lay=web&-max=50&-new
> 
> Calling the same log.php file doesn’t:
> 
> https://38.99.250.207/d/log.php
> 
> I do see mention of invalid XML characters in the error result.  I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels.  Could this be the issue?  Would the Windows Guy know how to do this?
> 
> Here’s the test script:
> 
> 		include_once ("FX/FX.php");	
> 		define('DEBUG', true);
> 	
> 		$log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' );
> 		$log->SetDBData( 'log.fp7', 'web' );
> 		$log->SetDBPassword( 'test', 'test' );
> 	
> 		$logResult = $log->FMNew();
> 		if (FX::isError($logResult)) {
> 			print_r($logResult);
> 		}
> 
> FYI, I get the same error whether http or https.
> 
> 
> Jonathan
> 
> 
> On Jul 23, 2014, at 6:53 AM, Bob Patin <bob at patin.com> wrote:
> 
>> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it.  I think it also trashes their IIS prefs too.
>> 
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com
>> 615-333-6858
>> FileMaker 9, 10, 11, 12 & 13 Certified Developer
>> http://www.longtermsolutions.com
>> -
>> iChat: bobpatin at me.com
>> Twitter: bobpatin
>>>> FileMaker Consulting 
>> FileMaker Hosting for all versions of FileMaker
>> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>> 
>> 
>> On Jul 23, 2014, at 8:33 AM, jschwartz <jschwartz at exit445.com> wrote:
>> 
>>> Good idea. Thx.
>>> 
>>> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test.  Apparently, WPE deploy in FMS seems to trash the user-installed php.
>>> 
>>> Does this rings any bells?
>>> 
>>> Jonathan
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> 



More information about the FX.php_List mailing list