techAMIGO

Well-Known Member
Nov 6, 2019
59
41
18
Kerala, india
cPanel Access Level
Root Administrator
Hi,
it seems snmp module is enabled in the php but the snmp package not enabled in the server.

please try install using the following command

yum install net-snmp net-snmp-libs net-snmp-utils

hope it will work.
 

techAMIGO

Well-Known Member
Nov 6, 2019
59
41
18
Kerala, india
cPanel Access Level
Root Administrator
Hi,
It seems above module installed and worked. now getting new errors where other modules are missing too from php like msqlnd

so please run the command /opt/cpanel/ea-php74/root/usr/bin/php -m and see all necessary modules which needed for the whmcs working is installed or not.
 
  • Like
Reactions: cPRex

hirschbergh

Member
Aug 1, 2022
13
1
3
Germany
cPanel Access Level
Root Administrator
Cron Daemon <[email protected]>


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Critical Error</title>

<style>
body {
margin: 30px 40px;
background-color: #f6f6f6;
}
.error-container {
padding: 50px 40px;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
}
h1 {
margin: 0;
font-size: 48px;
font-weight: 400;
}
h2 {
margin: 0;
font-size: 26px;
font-weight: 300;
}
a {
color: #336699;
}
p.back-to-home {
margin-top: 30px;
}
p.debug{
padding: 20px 0;
font-family: "Courier New", Courier, monospace, serif;
font-size: 14px;
}
.info {
border: solid 1px #999;
padding: 5px;
background-color: #d9edf7;
}
</style>

</head>
<body>
<div class="error-container"><h1>Critical Error</h1><p>Could not connect to the database.</p></div>
</body>
</html>
 

hirschbergh

Member
Aug 1, 2022
13
1
3
Germany
cPanel Access Level
Root Administrator
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
enchant
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
intl
ionCube Loader
json
ldap
libxml
mbstring
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
the ionCube PHP Loader + ionCube24
 

techAMIGO

Well-Known Member
Nov 6, 2019
59
41
18
Kerala, india
cPanel Access Level
Root Administrator
On a quick look it seems php module requirements are satisfied for whmcs working. as mentioned in the whmcs System_Requirements page ,
https://docs.whmcs.com/System_Requirements

also can't say the exact issue without looking in detailed ..
It would be good if you open up a cpanel support ticket ( if this issue is related to cPanel) or ask a server admin to look into this issue.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
It might be time to open a ticket with us so we can check this out. I don't see anything obviously wrong with the PHP configuration that would be keeping this from working.

The only other guess I would have would be to try removing the user from CageFS is this is a CloudLinux machine with CageFS enabled, but if not, please create a ticket so we can look into this directly. If you are able to submit a ticket, please post the number here so I can follow along.