The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recommendation on how to configure Apache/PHP

Discussion in 'EasyApache' started by bubba143, Feb 3, 2010.

  1. bubba143

    bubba143 Registered

    Joined:
    Feb 3, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I am starting up a webhost and I've got everything up and running :) I just have one question before I launch it.

    How would you build Apache/PHP using EasyApache for a webhost? Are there any settings you recommend editing?

    Also right now I have Softaculous and CSF are there any other plugins you recommend getting?

    Thanks,
    Carl
     
  2. Tam

    Tam Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    In this kind of environment its an absolute must to have mod_suphp and su_exec enabled.

    Also choose apache 2.2.x and PHP 5.2.12 (current latest build offered by easyapache, do not compile with 5.3 until they release a fully stable version of Zend, so many scripts depend on Zend and it wont presently work with PHP 5.3).

    Also compile with mod_security and get the latest core rules (I believe gotroot is the best place to look for those).

    mod_perl if you have more than 2gb of ram, its great but memory hungry.

    Add dos-deflate (but see this post about modifying the script - http://blog.everymanhosting.com/webhosting/dos-deflate-blocks-numbers-not-ip-addresses/ )

    Just my 'off the top of my head' two cents worth ;)
     
  3. bubba143

    bubba143 Registered

    Joined:
    Feb 3, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Tam :)

    Kind Regards,
    Carl
     
  4. mooon11

    mooon11 Registered

    Joined:
    Feb 4, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    how do we configure php 5.3 to interact with mysql on apache 2.2. to avoid the fatal error saying call to undefinite function mysql_connect() ...
     
  5. Kevinfrom

    Kevinfrom Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    It should automatically, just remember to recompile Apache/PHP after upgrading Mysql so they play nice together.

    And i would also recommend including GD, Curl and TTF when compiling PHP.
     
  6. bubba143

    bubba143 Registered

    Joined:
    Feb 3, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Thanks cpanelkevin

    Kind Regards,
    Carl
     
  7. pumpkinkid

    pumpkinkid Member

    Joined:
    Feb 1, 2010
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I second Tam on PHP 5.3.1 Keep Away from it... lol

    I actually just had an issue with Drupal where most of my site ran perfectly well except for a major module I use... Rolled back to 5.2.12!

    cpanelkevin, is there a way to automate that?
     
Loading...

Share This Page