Skip to main content
Known Participant
July 26, 2006
Question

PHP on a COLDFUSION SERVER

  • July 26, 2006
  • 4 replies
  • 3199 views
Hi,

I have the following question: Is it possible to get PHP running on a Coldfusion server? I have a forum in php which I want to be displayed on the webpage running under Coldfusion.

Is this possible? What would be the best solution?

Regards,

Kabbi Thkek
    This topic has been closed for replies.

    4 replies

    Known Participant
    August 1, 2006
    Hmm Thank you all for this info.... The CFHTTP tag could be a possibilite.

    Thanks!
    Inspiring
    July 26, 2006
    Well no, not inside a page. You can not embed PHP code in a CFM file
    and expect the ColdFusion engine to know what to do with it, anymore
    then you can embed CFML code in a PHP file and expect the PHP engine to
    understand it.

    You can cross process with frames, as mentioned. Since then each
    request will be sent to the appropiate engine by the web server.

    You can also use web services to pass information from one app server to
    the other.

    With ColdFusion you could use the CFHTTP tag to call a PHP page and
    process what it returns. I'm sure PHP has similar functionality.

    Those are the three ideas I could come up with.

    YC wrote:
    > Of course, you can run ColdFusion and PHP at the same time in one machine.
    > I am running both of them on Windows and with IIS.
    >
    > But I think kabbi~'s question is, in fact, this is my question, too, can we
    > run a PHP page embedded inside a ColdFusion page? The only way I can think
    > of is using frames, but frames can be tricky in many cases, so I want to
    > avoid it if possible. Is there a better way to do this?
    >
    > YC
    >
    >
    > "frank_tudor" <webforumsuser@macromedia.com> wrote in message
    > news:ea86v1$rfk$1@forums.macromedia.com...
    >> I have had success running PHP and Coldfusion together with Apache on
    >> Windows
    >> and Linux.
    >>
    >> Start with installing Apache then install Coldfusion to use apache as the
    >> webserver, then install PHP
    >>
    >> Or PHP then Coldfusion...
    >>
    >> It'll work. :)
    >>
    >> Frank
    >>
    >
    >
    Inspiring
    July 26, 2006
    Of course, you can run ColdFusion and PHP at the same time in one machine.
    I am running both of them on Windows and with IIS.

    But I think kabbi~'s question is, in fact, this is my question, too, can we
    run a PHP page embedded inside a ColdFusion page? The only way I can think
    of is using frames, but frames can be tricky in many cases, so I want to
    avoid it if possible. Is there a better way to do this?

    YC


    "frank_tudor" <webforumsuser@macromedia.com> wrote in message
    news:ea86v1$rfk$1@forums.macromedia.com...
    >I have had success running PHP and Coldfusion together with Apache on
    >Windows
    > and Linux.
    >
    > Start with installing Apache then install Coldfusion to use apache as the
    > webserver, then install PHP
    >
    > Or PHP then Coldfusion...
    >
    > It'll work. :)
    >
    > Frank
    >


    Inspiring
    July 26, 2006
    I have had success running PHP and Coldfusion together with Apache on Windows and Linux.

    Start with installing Apache then install Coldfusion to use apache as the webserver, then install PHP

    Or PHP then Coldfusion...

    It'll work. :)

    Frank