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.

custom configuration with easyapache

Discussion in 'EasyApache' started by 2mhost.com, Oct 31, 2007.

  1. 2mhost.com

    2mhost.com Active Member

    Joined:
    Sep 4, 2001
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    In the past, I was editing

    /home/cpapachebuild/buildapache/buildscript


    to add some PHP modules like PDO-MySQL and run it to do fast apache recompliation .. but with the new easy apache I do see a file like that, I see the configuration saved in:


    /home/cpeasyapache/src/php-5.2.4/scripts/php-config



    but this overwritted I run easyapache .. how I can make the easyapache just take the PHP configuration from this file and not write on it?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Why not use EA to load the PDO module and the other modules you need? Then edit the appropriate php.ini (manually or via WHM) to set the settings you need?
     
  3. 2mhost.com

    2mhost.com Active Member

    Joined:
    Sep 4, 2001
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    With EA, you can only install PDO with SQLite .. I just want to add --with-pdo-mysql and such things to recompile php and apache while keeping everything else intact.


    so after running EA, I get installation like this:

    http://74.86.153.131/~rvadmin/info.php

    where I can add '--with-pdo' '--with-pdo-mysql' to the configuration command and keep all other installations intact?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Here's some documentation to assist you with defining custom configuration options:

    http://www.cpanel.net/support/docs/easyapache.htm

    Note, if you are on STABLE, this does not yet apply to you as this documentation is for EA3, not EA1. EA3 has not yet propagated to STABLE.
     
Loading...

Share This Page