Results 1 to 19 of 19
  1. #1
    Join Date
    Apr 2005
    Location
    Bangladesh
    Posts
    593

    Question Which version of Apache/PHP/MySQL should i use?

    I plan to run a handfull of Wordpress and phpBB sites (with heavy traffic) on a dual opteron dedicated box. Webmin will be used as control panel. I wont be hosting any client sites on the box (the box will be dedicated to hosting only those sites)

    Which version of Apache, PHP and MySQL should i use?

    Note that almost 100% of the content served will be PHP pages.
    WebHosting.com.bd - Web Hosting Bangladesh
    DomainDokan.com - Domain Registration Bangladesh

  2. #2
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,346
    The latest versions I would probably use apache2 or possibly lighttpd depending ont he scalability of the projects. PHP5 should work fine, some people say not all code is suported but I havn't really seen many problems with scripts such as phpbb and wordpress.
    Seeksadmin.com Owner: Providing Security, Administration and Optimization since 2001

    Now Offering Windows Serivces.

  3. #3
    PHP5.2.0
    MySQL5.0.27
    Apache2

    You should need APC or eAccelerator to accelerat your PHP scripts.

  4. #4
    Join Date
    Apr 2005
    Location
    Bangladesh
    Posts
    593
    With version i actually meant -
    Apache 1.3 or Apache 2.0 or Apache 2.2
    PHP 4 or PHP 5
    MySQL 4 or MySQL 5

    Will lighthttpd be better than Apache for Wordpress and phpBB (might move to vbulletin or bbpress later)?
    WebHosting.com.bd - Web Hosting Bangladesh
    DomainDokan.com - Domain Registration Bangladesh

  5. #5
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,346
    Quote Originally Posted by dotcomUNDERGROUND
    With version i actually meant -
    Apache 1.3 or Apache 2.0 or Apache 2.2
    PHP 4 or PHP 5
    MySQL 4 or MySQL 5

    Will lighthttpd be better than Apache for Wordpress and phpBB (might move to vbulletin or bbpress later)?
    lighttpd is just more effecient. It will work just as well but will be more effecient as it has a lighter footprint. Check out their site and see their own blurb about it along with some stats about how much more effecient it is.

    Otherwise Apahce 2.2, PHP4 and MySQL5 would probably be your best bets
    Seeksadmin.com Owner: Providing Security, Administration and Optimization since 2001

    Now Offering Windows Serivces.

  6. #6
    Join Date
    Apr 2005
    Location
    Bangladesh
    Posts
    593
    tnx

    btw.. i am currently running the sites with MySQL 4 .
    Will there be any problem importing the database to MySQL 5? (And back to MySQL 4 if needed later)
    WebHosting.com.bd - Web Hosting Bangladesh
    DomainDokan.com - Domain Registration Bangladesh

  7. #7
    There is no problem with upgrade, but may be something wrong with downgrade occasionally.

  8. #8
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    If your application supports it, Lighttpd and MySQL 5 are both certainly the way to go...
    MediaLayer, LLC - www.medialayer.com Learn how we can make your website load faster, translating to better conversion rates for your business!
    The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business

  9. #9
    Join Date
    Oct 2006
    Location
    UK
    Posts
    217
    Apache 2.2, PHP 5.2 and MySQL 5 likely your best option.

  10. #10
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    I'd say, apache 2.2/mysql5/php 5.2.0 also.

    Lighttpd is good for images however in most other cases apache 2.2 will be the better choice. Everyone is going to have their own thoughts but that would be mine.

    -Scott
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  11. #11
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    Apache 2.2 properly configured can go head an head with lighttpd when processing php in my opinion.
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  12. #12
    Join Date
    Apr 2005
    Location
    Bangladesh
    Posts
    593
    Quote Originally Posted by Scott.Mc
    I'd say, apache 2.2/mysql5/php 5.2.0 also.

    Lighttpd is good for images however in most other cases apache 2.2 will be the better choice. Everyone is going to have their own thoughts but that would be mine.

    -Scott
    I wont be bothering about images though.

    Processing the PHP pages is my main concern.
    WebHosting.com.bd - Web Hosting Bangladesh
    DomainDokan.com - Domain Registration Bangladesh

  13. #13
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Quote Originally Posted by dotcomUNDERGROUND
    I wont be bothering about images though.

    Processing the PHP pages is my main concern.
    Personally I would say apache 2.2

    -Scott
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  14. #14
    Join Date
    Apr 2005
    Location
    Bangladesh
    Posts
    593
    Quote Originally Posted by Steven
    Apache 2.2 properly configured can go head an head with lighttpd when processing php in my opinion.
    Any light on the "proper configuration" pls?
    WebHosting.com.bd - Web Hosting Bangladesh
    DomainDokan.com - Domain Registration Bangladesh

  15. #15
    Join Date
    Aug 2006
    Location
    Ireland
    Posts
    814
    running LIGHTTPD / PHP5.2 /MYSQL5.0.27 on about dozen boxes here

    lighttpd is absolutely excellent apache is just a load of bloat

  16. #16
    Join Date
    Apr 2005
    Location
    Bangladesh
    Posts
    593
    Any more suggestions on Lighthttpd vs Apace 2.2 ?
    WebHosting.com.bd - Web Hosting Bangladesh
    DomainDokan.com - Domain Registration Bangladesh

  17. #17
    Join Date
    Aug 2006
    Location
    Ireland
    Posts
    814
    lighttpd is faster simple as that, apache is just a bloated memory hug

    (sorry im my opinion on the matter is highly biased due to previous bad experience with apache and great experience with lighttpd)

  18. #18
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Quote Originally Posted by mihd
    lighttpd is faster simple as that, apache is just a bloated memory hug

    (sorry im my opinion on the matter is highly biased due to previous bad experience with apache and great experience with lighttpd)
    Have you ever used Apache 2.2.3?

  19. #19
    Join Date
    Nov 2000
    Location
    Holland
    Posts
    246
    Quote Originally Posted by layer0
    Have you ever used Apache 2.2.3?
    Based on his signature I suspect his bad experiences with Apache lie with the file hosting service he runs. I wouldn't be surprised if lighttpd is about the only proper option for services like that (and any other that requires tons of concurrent connections with minimal CPU and RAM cost).

Posting Permissions

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