Re: [PHP] Using php in custom built http server

2008-12-20 Thread Nathan Nobbe
On Fri, Dec 19, 2008 at 11:47 PM, mike mike...@gmail.com wrote: Yep Nginx, lighttpd, Zeus it's the only way. Apache has the option and I think a lot of people recommend it for various reasons. I'd recommend nginx over lighttpd :) well now ill have to go scope out nginx :D anyways, major

Re: [PHP] Using php in custom built http server

2008-12-20 Thread mike
On Sat, Dec 20, 2008 at 9:37 AM, Nathan Nobbe quickshif...@gmail.com wrote: well now ill have to go scope out nginx :D anyways, major diff between cgi libphp should be performance, wherein cgi should be like waaay slower. but supposedly fastCGI is pretty solid. peep this thread from a

Re: [PHP] Using php in custom built http server

2008-12-20 Thread Mr. Gecko
Thanks for the suggestions. I'll read on about it and tell you what I came up with, so if someone else want's to do something similar they can base it off of what I built. Here are some replies to what you guys asked I don't know if I would go open source on this. I can use c code in

[PHP] Using php in custom built http server

2008-12-19 Thread Mr. Gecko
Hey, I built my own http server, and I'm wanting to add php to it. the server is in Objective-C. I know I can use terminal commands to do it, but if I was to do that how would I get headers and stuff php sends, and how would I send php HTTP_REMOTE_ADDRESS and stuff like that? I would prefer

[PHP] Using php in custom built http server

2008-12-19 Thread Mr. Gecko
Hey, I built my own http server, and I'm wanting to add php to it. the server is in Objective-C. I know I can use terminal commands to do it, but if I was to do that how would I get headers and stuff php sends, and how would I send php HTTP_REMOTE_ADDRESS and stuff like that? I would prefer

Re: [PHP] Using php in custom built http server

2008-12-19 Thread Nathan Nobbe
On Fri, Dec 19, 2008 at 5:58 PM, Mr. Gecko grmrge...@gmail.com wrote: Hey, I built my own http server, and I'm wanting to add php to it. the server is in Objective-C. I know I can use terminal commands to do it, but if I was to do that how would I get headers and stuff php sends, and how

Re: [PHP] Using php in custom built http server

2008-12-19 Thread mike
Also could look at using fastcgi and would not have to embed libphp and such. On Dec 19, 2008, at 9:58 PM, Nathan Nobbe quickshif...@gmail.com wrote: On Fri, Dec 19, 2008 at 5:58 PM, Mr. Gecko grmrge...@gmail.com wrote: Hey, I built my own http server, and I'm wanting to add php to it.

Re: [PHP] Using php in custom built http server

2008-12-19 Thread Nathan Nobbe
On Fri, Dec 19, 2008 at 11:14 PM, mike mike...@gmail.com wrote: Also could look at using fastcgi and would not have to embed libphp and such. actually, i think thats how lighttpd does it ;) -nathan

Re: [PHP] Using php in custom built http server

2008-12-19 Thread mike
Yep Nginx, lighttpd, Zeus it's the only way. Apache has the option and I think a lot of people recommend it for various reasons. I'd recommend nginx over lighttpd :) On Dec 19, 2008, at 10:15 PM, Nathan Nobbe quickshif...@gmail.com wrote: On Fri, Dec 19, 2008 at 11:14 PM, mike