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.

MySQLi help needed..

Discussion in 'EasyApache' started by Night Hoster, Oct 16, 2014.

  1. Night Hoster

    Night Hoster Member

    Joined:
    Sep 3, 2013
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have normal Linux KVM Vps & normal dedicated server I want to Install MySQLi , can any tell me how can I Install MySqli working in cpanel/whm? & if I Install MySqli via easyapache then SQL will work or not?
     
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Yes, it will.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, please enable it via EasyApache under the "Exhaustive Options List" for PHP. This module does not interfere with MySQL.

    Thank you.
     
  4. Night Hoster

    Night Hoster Member

    Joined:
    Sep 3, 2013
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes done.... @cPanelMichael Thanks for your Support
     
  5. Pragatheesh

    Pragatheesh Registered

    Joined:
    Mar 19, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sri Lanka
    cPanel Access Level:
    Root Administrator
    Hi,
    I did the same to enable MySqli, but after a successfull build, my server does not load
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you elaborate on this? Do you notice any error messages in /usr/local/apache/logs/error_log when restarting Apache?

    Thank you.
     
    Pragatheesh likes this.
  7. Pragatheesh

    Pragatheesh Registered

    Joined:
    Mar 19, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sri Lanka
    cPanel Access Level:
    Root Administrator
    After setting up my server, I created my account and then placed index file in the public_html folder, which worked.

    Then I build my apache using easyapache to enable msqli. Via ssh i can see mysqli is now enabled. But my files dont load.

    [Thu Mar 19 06:21:15 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu Mar 19 06:21:55 2015] [notice] caught SIGTERM, shutting down
    [Thu Mar 19 06:21:58 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu Mar 19 06:21:58 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu Mar 19 06:21:59 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu Mar 19 06:21:59 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu Mar 19 06:22:04 2015] [notice] caught SIGTERM, shutting down
    [Thu Mar 19 06:22:06 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu Mar 19 06:22:06 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu Mar 19 06:22:07 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu Mar 19 06:22:07 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations

    Below is the apache build log when it finished.

    !! Post check of 'httpd' process Ok !!
    -- End test 'Basic CGI-SYS Request .cgi' --
    !! Post check of 'httpd' process Ok !!
    -- End post apache restart tests --
    !! Executing '/usr/local/cpanel/scripts/initfpsuexec' !!
    !! '/usr/local/cpanel/scripts/initfpsuexec' failed with exit code '256' !!
    !! Executing '/usr/local/cpanel/scripts/initsslhttpd' !!
    !! Executing '/usr/local/cpanel/scripts/fixmailman' !!
    !! Executing '/usr/local/cpanel/scripts/update_apachectl' !!
    !! Executing '/usr/local/cpanel/scripts/enablefileprotect' !!
    !! Unregistering the Mod Security addon !!

    !! WARNING: This causes cpsrvd to restart and might cause logging output to stop !!

    modsec unregistered
    Compiling report...
    Sending report. As some of the attached files may be quite large, this could take a few minutes. Thanks for your patience.
    !! If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '16220905' !!

    Report processed.
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1426770842' !!
     
    #7 Pragatheesh, Mar 19, 2015
    Last edited: Mar 19, 2015
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The logs you posted do not indicate a problem with the EasyApache build. Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  9. Pragatheesh

    Pragatheesh Registered

    Joined:
    Mar 19, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sri Lanka
    cPanel Access Level:
    Root Administrator
    hi Micheal,

    As you suggested I have raised a ticket : 6270939

    Thank you
     
  10. Pragatheesh

    Pragatheesh Registered

    Joined:
    Mar 19, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sri Lanka
    cPanel Access Level:
    Root Administrator
    H
    Hi Micheal,

    The ticket was processed quickly and the cPanel team was really supportive. Apparently it seems that I have made a mistake in setting up the domain A record. The issues was not within the cPanel. Thanks for your guidance. Really appreciate it.
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page