I have an iMac G5 that I wish to convert to an internet-facing web server. I have some questions, though, about the conversion process:
- Which version of Apache should I use? 1.3 (the one included with Mac OS X), 2.0, or 2.2? I intend to use PHP and MySQL on this server, and I don't know if PHP works with Apache 2.2 yet.
- Which extensions for PHP should I enable? I don't need CGI scripting, but I'm not sure whether or not trying to get GD working is worth it.
- What steps should I take to make the server secure? Are there any other Apache modules or other software I should install?
- Is there anything special I need to do, once the server is ready, to make it Internet-accessible, besides making sure everything on my end (router port forwarding, static IP addresses, etc.) is set up correctly, and giving it some sort of DNS entry so people can access it? I am aware of issues related to my ISP and such servers, and I know the solution to this - upgrade to business-class service.