Supporting PHP in C# Web Server

03/02/2011 08:11 stealarcher#1
Im making a C# web server for a project to release. I got everything working, just want it to support languages so users can use it for their only web server. If anyone is familiar on how to support PHP in a C# web server or has some documentation on it somewhere, please hit me up xD. It would be greatly appreciated.
03/02/2011 08:12 superbigi1#2
yesyesyes
03/02/2011 08:18 stealarcher#3
Do you know how or do u have a link i could learn from?
03/02/2011 10:07 ßøøm#4
Have you tryed this?
[Only registered and activated users can see links. Click Here To Register...]
03/02/2011 15:29 stealarcher#5
yes... i have googled it. Only thing i could find is how to install it for a pre-assembled web server that spports it, or something of that nature.
03/02/2011 21:30 gabrola#6
That doesn't make any sense...
03/02/2011 21:42 stealarcher#7
How doesnt it?
03/02/2011 22:23 gabrola#8
"support PHP in a C# web server"
I don't get what you're trying to do, that doesn't make sense.
03/02/2011 22:35 .Kinshi#9
I'm with gabrola on this one.

Do you have an ASP site and want to add PHP code to it?
Why not just do the code in C#/Visual Basic if that's the case?
03/02/2011 22:50 stealarcher#10
Im making a web server, basically my own wampp/xampp, etc that is coded in C#. Im wanting to support PHP and HTML just because thats what the majority of languages the co community uses.
03/02/2011 23:14 CptSky#11
I don't see the point... But anyway... Check the Apache website. You'll find the source code. It's probably the more advanced open-source project... But it's not in C# :rolleyes:
03/02/2011 23:22 gabrola#12
I highly doubt you can write a web server for a dynamic language like PHP.
03/03/2011 02:59 .Kinshi#13
Um, use ASP?
09/14/2012 12:36 EaterOfCorpses#14
Im wanting to do the same atm and if you know PHP good then you knowits just a Console program so you could just do
Code:
php.exe -f "CODE.php"
and throw that back to the user but here take this example from some russian guy [Only registered and activated users can see links. Click Here To Register...]
09/14/2012 15:07 KraHen#15
What the guy above me said. Btw that is the FIRST link thrown by Google if you actually search for it.