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.

Oracle & Easyapache

Discussion in 'Workarounds and Optimization' started by lvlind, Dec 11, 2009.

  1. lvlind

    lvlind Active Member

    Joined:
    Jun 7, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vinnica, Ukraine
    It would be helpful if developers will add Oracle to Easyapache, because Oracle developers have made it free, and now everybody can install Oracle server. I've added it manually into Easyapache instead of one module which one I'm not using and successfully installed it, but this is not a solution - because after next CPanel update it can be deleted. Does anybody have experience with Oracle server installation on CPanel ?
     
  2. lvlind

    lvlind Active Member

    Joined:
    Jun 7, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vinnica, Ukraine
    in addition

    He he, I've "chattr"-ed this installation file and after CPanel update, my oracle is not wiped. Temporary solution works fine, but would be helpful to hear something from CPanel developers :p
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    To help clarify the feature request, please let us know more specific detail about the item being requested:
    1.) What is the exact module that you would like to see added to EasyApache?
    2.) Is it a module for Apache, or is it a module for PHP?

    What exactly are you seeing removed when running EasyApache? It may just be that you need to create a custom EasyApache Option Module to have the desired module or extension compiled, just like what is done with other Apache modules or PHP extensions when running EasyApache. It is not recommended to use the immutable attribute as this will break future upgrades.

    For more verbose details please reference our EasyApache Option Module documentation: EasyApache Custom Modules
     
  4. lvlind

    lvlind Active Member

    Joined:
    Jun 7, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vinnica, Ukraine
    1. It will be nice if you add ODBC (sun oracle) support into CPanel, so users can choose to use MySQL or Oracle or both.
    2. it is PHP module
     
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    EasyApache allows you to add custom PHP modules and customize the configure flags used when compiling PHP. I recommend the following documentation to help you accomplish various customizations:
     
    #5 cPanelDon, Jul 28, 2010
    Last edited: Jul 28, 2010
  6. pakogah

    pakogah Member

    Joined:
    Nov 6, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    @lvlind,
    mind to share how do you integrate php_oci8 module into php which build using easyapache ??
     
  7. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    I was able to successfully install oci8 using the following steps:

    1. Downloaded the following rpms for Linux:

    oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm
    oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm
    oracle-instantclient11.2-odbc-11.2.0.3.0-1.x86_64.rpm

    These are listed at Instant Client downloads for Linux x86-64 location. You will have to sign into an account or create one to download the files after accepting the license agreement.

    I had to upload the files to my server using FTP. You could either FTP the files or SCP them depending on whether you are on a Windows or Linux system for the local system download.

    After the files are on the server in question, then install them:

    Code:
    rpm -Uvh oracle*
    You must be in the directory with the rpms in order to run that command.

    2. Pecl install the oci8 module

    Code:
    pecl install oci8
    This will detect the necessary oracle rpms and then install the oci8 PHP module. To test if it is then showing up as enabled, you can run the following, which should show a return similar to what I have for my machine:

    Code:
    root@host [/usr/lib/oracle/11.2/client64/lib]# php -i | grep -i oci8
    oci8
    OCI8 Support => enabled
    oci8.connection_class => no value => no value
    oci8.default_prefetch => 100 => 100
    oci8.events => Off => Off
    oci8.max_persistent => -1 => -1
    oci8.old_oci_close_semantics => Off => Off
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
     
Loading...

Share This Page