Skip to main content
Participant
October 2, 2006
Answered

using PHP/mySQL

  • October 2, 2006
  • 3 replies
  • 394 views
We have flash media server installed on windows server 2003 sp1 virtual server. Can we install php/mySQL for our web project or are there know problems?
    This topic has been closed for replies.
    Correct answer
    Since your application server is PHP, I'd suggest going with AMFPHP instead of Flash Remoting. Using AMFPHP, you'll be able to program your classes in familiar PHP syntax.

    Connecting to remoting services from FMS is pretty much the same as using remoting with the Flashplayer client. See the FMS docs on the netServices class.

    In short, AMFPHP/Remoting goes on your http/db server, and FMS connects to it as a service.

    If you are installing your http server on the same machine as FMS, you'll want to give FMS it's own IP address. This will eliminate the port 80 conflict mentioned above.

    To explain, FMS uses port 80 to connect clients with firewalls that block port 1935 (the FMS default port). If an http server is already listening to port 80, FMS can't. If FMS manages to grab port 80 before the http server does, the http server will be unavilaible to your clients.

    3 replies

    Correct answer
    October 3, 2006
    Since your application server is PHP, I'd suggest going with AMFPHP instead of Flash Remoting. Using AMFPHP, you'll be able to program your classes in familiar PHP syntax.

    Connecting to remoting services from FMS is pretty much the same as using remoting with the Flashplayer client. See the FMS docs on the netServices class.

    In short, AMFPHP/Remoting goes on your http/db server, and FMS connects to it as a service.

    If you are installing your http server on the same machine as FMS, you'll want to give FMS it's own IP address. This will eliminate the port 80 conflict mentioned above.

    To explain, FMS uses port 80 to connect clients with firewalls that block port 1935 (the FMS default port). If an http server is already listening to port 80, FMS can't. If FMS manages to grab port 80 before the http server does, the http server will be unavilaible to your clients.
    EnviromedAuthor
    Participant
    October 2, 2006
    This is great news, as we have flash remoting. How would we set this up?
    Thanks in advance. Shawn
    October 2, 2006
    IIS and php/mySQL can work together but it's less efficient regarding LAMP(Linux, Apache, MySql, PHP) solution.

    I must warn you about installing Apache on a Windows Server that used IIS; you will break your system(this will cause flaws and problem with port(80...) trust my personal experience)!! Running PHP on a IIS as a CGI work but it's so much slower...

    You can use a gateway in Flash Remoting or AMFPHP to bypass this problem.