inets & PHP

Sanjaya Vitharana sanjaya@REDACTED
Fri Nov 25 10:37:32 CET 2005


Hi .... Twan !!!

1.) I have PHP pages already running on Apache
2.) Also I have a inets (HTTP Server) httpd which replies to the specific http requests, accessing the mnesia db.
3.) Since inets is also act as a HTTP Server, can't I put the php pages on same server rather than using 2 web servers ? (Apache & inets)

Just interested, no special need to user PHP over inets.

Also,

Apache, inets, & yaws all 3 are webservers. So why yaws supports PHP after Apache ? Rather than providing support for PHP they could guid their user to use Apache, dosen't it ?

So why not thinking about PHP over inets ? And why Erlang include inets as their web server ? They also could simply put the Yaws as their web server or redirect their user to yaws. Why they don't do that?

These are the questions comes to my head. Also margins are not clear for me when to use inets & yaws ? As well as why 2 web servers for Erlang users ?

Any how i'm new to inets as well.

Sanjaya
  ----- Original Message ----- 
  From: Twan van der Schoot 
  To: Sanjaya Vitharana ; erlang-questions@REDACTED 
  Sent: Friday, 25 November 2005 02:18 pm
  Subject: RE: inets & PHP


  Hi Sanjaya,

  can you explain why you want to serve PHP over inets?

  regards,

  /Twan
    -----Original Message-----
    From: owner-erlang-questions@REDACTED [mailto:owner-erlang-questions@REDACTED]On Behalf Of Sanjaya Vitharana
    Sent: vrijdag 25 november 2005 5:52
    To: erlang-questions@REDACTED
    Subject: inets & PHP


    Hi...!!!

    1.) What is the possibility of running PHP on inets? (inets support PHP ?)
    2.) if it supports, how to configure inets to work properly with PHP?
    3.) Are there aditional libraries to add ?

    this because I have write below 3 lines & save it as test.php on a inets server. But no result

    <?
       echo "test";
    ?>

    Can anybody help on this matter ?

    Thanks in advance

    Sanjaya Vitharana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051125/0d10164c/attachment.htm>


More information about the erlang-questions mailing list