SitePoint Sponsor

User Tag List

Results 1 to 17 of 17
  1. #1
    SitePoint Addict
    Join Date
    Feb 2004
    Posts
    291
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Apache / PHP bundle for production

    Hi.

    Which Apache/PHP bundle is best suitable for production use?

    Thanks.

  2. #2
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    What kind of server are we talking about?

    Generally for production use it's best to install and optimise/ fine-tune the separate components by themselves.
    I'm not sure if cPanel and friends come with Apache/ PHP 'built-in'.

  3. #3
    SitePoint Addict
    Join Date
    Feb 2004
    Posts
    291
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sorry, I forgot to mention, we use Windows environment.

    I have so far, manually downloaded and installed Apache and PHP. But I am no expect, so I think it would be best, if there was a bundle available that was optimized for production usage. Also I worry a bit about, how to performs future updates and patches, in a production environment.

  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,629
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    If you are on windows then run IIS, not Apache.

  5. #5
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,650
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    I'll take Wyatt's recommendation one step further. Since you're obviously not a sysadmin, you have no business running a production server. However, knowledge is the minor part of that recommendation; monitoring 7/24/365 is something you MUST be able to do, too. It's that last part that's a killer.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  6. #6
    SitePoint Addict
    Join Date
    Feb 2004
    Posts
    291
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You did not even try to answer my question.

    Quote Originally Posted by dklynn View Post
    I'll take Wyatt's recommendation one step further. Since you're obviously not a sysadmin, you have no business running a production server. However, knowledge is the minor part of that recommendation; monitoring 7/24/365 is something you MUST be able to do, too. It's that last part that's a killer.

    Regards,

    DK

  7. #7
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by materix View Post
    You did not even try to answer my question.
    That's because there is no simple, singular answer.
    You could download something like wampserver or xampp, but I wouldn't run a production site on those at all.
    Packages that include everything for you tend to be quite 'open', meaning there will be a lot of attack vectors live from the get-go.
    Thus, packages that contain every bit ofweb-related software under the sun are not suitable for production environments.

    That's what David is trying to tell you: Server administration is a full-time job and a very specific skill-set.

  8. #8
    SitePoint Addict
    Join Date
    Feb 2004
    Posts
    291
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the reply. I completely agree, that system administration is important. One way to go, is to hire a full-time sysadmin to handle optimization, patching, etc. But I am a bit surprised that I can not not find any, even commercial, packages that are meant for production usage?

  9. #9
    SitePoint Zealot
    Join Date
    Apr 2009
    Location
    Wenatchee, WA
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you talking 'production' usage as in running your own site from home, or as in running from a shared hosting account?

  10. #10
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,650
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    materix,

    There is no "canned set" that any serious host would use BECAUSE each daemon is created as a separate piece of software which must be kept up to date (at least daily, preferably as soon as a new release is out because most new releases patch security vulnerabilities) {even asking such a question tells me that you're not up to this task, i.e., it's not a serious question}. Unless you're prepared to go sleepless monitoring EVERYTHING while expending $$$ for the tools to monitor and update properly, use a host which has a staff that knows what they're doing and have the tools to do it properly.

    Edit:

    We ARE trying to help you as there is a major liability incurred by hosts, not to mention the expense of redundent, proper servers and backup, connectivity to the internet and the software tools required and round the clock monitoring (and the knowledge to respond correctly to detected attacks). By asking these questions, it's evident that you're ready for any of this. While a learning exercise, there's just too much to cover for a forum like this (Apache, PHP, MySQL, EXIM, DNS, and a plethera of other daemons). IMHO, the fastest way for you to learn is to START with a managed VPS and learn how to "drive" that, graduate to an unmanaged VPS then to a managed server and unmanaged server. You will learn a lot along the way and not incur the liability of hosting others (use a test domain so your own website(s) won't suffer). Finally, if you believe you can graduate to being a host, buy a rack in a data center (for their connectivity) and have a go at it!


    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  11. #11
    SitePoint Addict
    Join Date
    Feb 2004
    Posts
    291
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by memilanuk View Post
    Are you talking 'production' usage as in running your own site from home, or as in running from a shared hosting account?
    With production I mean running a site on remote virtual server (Windows).

  12. #12
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,629
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Windows Server 2008? If so, grab the Web Platform Installer, click on products, find PHP and install it. I'd grab the mysql binaries from mysql.org rather than doing the web platform installer MySql install but that isn't bad. For management, MySqlWorkbench (also from MySql.org) is pretty adequate.

    Running Apache on Windows is generally not recommended for production use. Is there any particular reason you are trying to run apache?

  13. #13
    SitePoint Addict
    Join Date
    Feb 2004
    Posts
    291
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes, we use Windows 2008 Server. Web Platform Installer sounds interesting. I will check it out, thanks.

    The reason we are using Apache, are because of the mod_rewrite/.htaccess options, especially for creating friendly urls. Is there anything similar for IIS?

  14. #14
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,629
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    With IIS7 yes, install the UrlRewrite module, it is completely functionally equivalent to mod_rewrite. To the point there is a copy / paste translation part in the admin UI that takes mod_rewrite directives and makes UrlRewrite directives.

  15. #15
    SitePoint Addict
    Join Date
    Feb 2004
    Posts
    291
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by wwb_99 View Post
    With IIS7 yes, install the UrlRewrite module, it is completely functionally equivalent to mod_rewrite. To the point there is a copy / paste translation part in the admin UI that takes mod_rewrite directives and makes UrlRewrite directives.
    Thanks for the help :-)

  16. #16
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,650
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    Wyatt,

    I've read that the follow-on version of IIS allows (most) mod_rewrite code to be used without translation, too.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  17. #17
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,629
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Yes and no -- the internals of the directives don't change so much. But IIS's web.config and .htaccess files are quite different. Most of what the translator does is takes the .hataccess layout and pushes things into appropriate places for IIS.

    Conceptually just about all lessons apply across the board.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •