Admin Commands issue on Windows Web Server 2008 R2 - 64Bit
Hi,
I have tried exactly same process on FMS3.5 Installed on Centos and it worked perfectly.
But not working in case of Windows Web Server 2008 R2 - 64Bit.
Here is what i am trying to do -
Basically i want to extract live streams list and display them in HTML as ordered list on another server them FMS.
What i did in the case of FMS on Centos server -
I installed Apache and PHP on this server and created a PHP file with following text in it. -
abc.php
----------------------------
$xml = simplexml_load_file('http://<fms-server-ip>:1111/admin/getLiveStreams?auser=admin&apswd=password&appInst=live','SimpleXMLElement', LIBXML_NOCDATA);
foreach($xml->children() as $child)
{
foreach($child->children() as $child2)
{
echo $child2 . ",";
}
}
---------------
and in hosting server where i want to display the list i entered following code in PHP file -
$homepage = file_get_contents('http://<fms-server-ip>/abc.php');
echo $homepage;
---
i got comma seperated values easily and everything is loading fast without any issue.
Now problem occured with Windows Web Server 2008 R2 - 64Bit.
I installed FMS, Apache and PHP in this server also, did evrything in the same way like in centos.
FMS, APache and PHP files are working fine in this.
But only problem occured when in abc.php i use
$xml = simplexml_load_file('http://<fms-server-ip>:1111/admin/getLiveStreams?auser=admin&apswd=password&appInst=live','SimpleXMLElement', LIBXML_NOCDATA);
After this file do not loads and takes longer time to load and after some time a blank page appears. It works fine with a local XML file.
i am able to see the XML file by opening it directly in browser, but somehow this is not working with simplexml_load_file. I dont think this is PHP issue because with local XML file it works fine. May be some port issue or something else. But i am able to view XML file directly in browser from another computers as well.
Kindly help, is there some other configurations should be changed in case of windows version. I have allowed admin commands as usual before doing all this. Ports 1111,80,1935 are also opened.
Please guide
