Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2004
    Location
    Rajshahi
    Posts
    103

    nginx on cPanel server :: comparison of 2 alternatives

    hello,
    Yesterday I was googling to see if I can easily use nginx on cPanel server.

    During first attempt I found:
    http://cpnginx.com/

    I installed it on a semi-production server runs on cPanel. Installation was damn easy. just run one command. (much easier than download it from their server )

    I believe the server load is less than earlier. in my server config, php runs as fcgid. as eaccelerator seems working with fcgid, I monitored the RAM usages gone extremely high. From 500MB to 2GB and until hanging cpsrvd.

    then after installing this cpanel plugin, I see overall memory usages is still in normal. mostly below 1GB.


    just now, I've got another plugin:
    http://nginxcp.com/


    last one seems free while first one is $5/month.

    so, I am interested to know if anyone has experience with both or any! and do you suggest or not using it on production server.

    thanks everyone in advance.

  2. #2
    Join Date
    Dec 2010
    Posts
    64
    do you alter httpd.conf manually?

  3. #3
    Join Date
    Sep 2004
    Location
    Rajshahi
    Posts
    103
    Quote Originally Posted by neverknowhk View Post
    do you alter httpd.conf manually?
    nope, this plugin did all the required things. it changed the apache listening port, set nginx to listen 80, configure nginx to pass the scripts to apache, and itself to serve static contents.

    There was no manual changing at all.

    thanks

  4. #4
    Join Date
    Dec 2010
    Posts
    64
    i mean do you alter the httpd.conf urself. because i did ti before. it will screw up ur manual setting

    because cpanel someitmes recompile the httpd.conf if u have changed the setting in cpanel. that will screw up ur apache

  5. #5
    Join Date
    Sep 2004
    Location
    Rajshahi
    Posts
    103
    nope, I rarely edit httpd.conf myself. so far I remember i did only once in last year.

    I don't think when cpanel recompiles apache, it will screw up. because so far I have seen:
    1. cpnginx plugin changes cpanel settings (tweak) and sets apache to listen to 8888. now even I recompile apache, cpanel will configure it for that port.
    2. as nginx is already configured to listen 80, it will still be listening.

    moreover, recompiling apache is rare issue.

    thanks for your input.

  6. #6
    Join Date
    Dec 2010
    Posts
    64
    cpanel is a good tool. when you have multiple subdomain to deperate the static content then you will get trouble (for exmpale, adding extra ip to listen, when you need more server)

    u can test it. everytimes when u recompile the apache, some of the configuration will appear in different line.

    recompile is necessary because you need to add or delete module. Performance tuning.


    For whoever wanted to have reverse proxy or extra webserver (lighttpd and nginx). It will be much easier to configure the conf yourselves.

Similar Threads

  1. Nginx Admin: The Free cPanel Nginx automated installer Plugin
    By JohnCS in forum Software & Scripts Offers
    Replies: 13
    Last Post: 05-21-2011, 11:45 AM
  2. cPanel Nginx Server Plugin. Say good bye to server loads
    By Syslint in forum Software & Scripts Offers
    Replies: 17
    Last Post: 02-20-2011, 09:01 PM
  3. Replies: 0
    Last Post: 02-15-2011, 05:56 AM
  4. Cpanel with Nginx server
    By rameshkumar6_av in forum VPS Hosting
    Replies: 8
    Last Post: 07-05-2010, 04:27 AM
  5. Using nginx on CPanel server - please help
    By SysTeam in forum Hosting Security and Technology
    Replies: 2
    Last Post: 10-03-2008, 04:50 PM

Posting Permissions

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