Night Hoster

Member
Sep 3, 2013
17
0
51
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
Hello :)

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

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
Hi,

I did the same to enable MySqli, but after a successfull build, my server does not load
Could you elaborate on this? Do you notice any error messages in /usr/local/apache/logs/error_log when restarting Apache?

Thank you.
 
  • Like
Reactions: Pragatheesh

Pragatheesh

Registered
Mar 19, 2015
4
0
1
Sri Lanka
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.
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' !!
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
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.
 

Pragatheesh

Registered
Mar 19, 2015
4
0
1
Sri Lanka
cPanel Access Level
Root Administrator
H
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.
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.