Homebrew [Q] Porting Apache and PHP5 to 3DS - Webserver

  • Thread starter Thread starter WhoAmI?
  • Start date Start date
  • Views Views 2,772
  • Replies Replies 10

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Reaction score
1,013
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,309
Country
As the title says: Is it possible to port Apache web server and PHP5, to the 3DS? I know that it would probably be the worlds worst web server but it would still be pretty cool.

Any ideas? Thanks!
 
I think Apache would be harder, it needs threading, forking, scheduling, sockets and probably other things. PHP is just a language, you could more easily remove libraries to make some minimal version available.
 
I was referring to php as a module. It can run scripts on its own but not from a remote server. It need something to run from. like apache.

Edit, nvm I see what you're saying. That's what I meant, you can't port a scripting language. It's a nonsensical idea. The platform needs to be ported. And in this case it would be more realistic to port unix.
 
Porting some stripped down build of Linux (maybe damn small Linux or something) might be of use for this to work. That being said, I think we're still a pretty long way off from that happening.
 
Porting some stripped down build of Linux (maybe damn small Linux or something) might be of use for this to work. That being said, I think we're still a pretty long way off from that happening.
Even if you get a decent enough port it seems, having seen the remote desktop app, that it would be difficult to get the 3ds to handle data packets effectively.
 
I suppose it would be better to write a simple web server, from scratch? If FTP homebrew is possible, maybe this is too. As for PHP - forget it, could probably just write a program that works similar to it.
 
You could just write your own HTTPD... Not that complicated. Making it compatible with PHP though...that's a different story.
 
  • Like
Reactions: WhoAmI?

Site & Scene News

Popular threads in this forum