phpMyAdmin Internal Server Error 500

Operating System & Version
Rocky 9
cPanel & WHM Version
Latest version

mdev

Registered
Jun 24, 2023
2
0
1
egy
cPanel Access Level
Root Administrator
I installed Cpanel on Rocky 9 server. When I try to access the phpMyAdmin I get this error.

I have the following logs in /usr/local/cpanel/logs/error_log:
==> cpsrvd 11.112.0.3 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up SSL support ... Done
==> cpsrvd: transferred port bindings: 10,11,12,3,4,5,6,7,8,9
==> cpsrvd: bound to ports
[2023-06-24 16:40:57 +0000] info [cpsrvd] version 11.112.0.3 online
/usr/local/cpanel/3rdparty/php/81/bin/php-cgi: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
[2023-06-24 16:40:58 +0000] warn [whostmgrd] The subprocess (php) exited with an error (ID 595246399826468): The subprocess reported error number 127 when it ended.
[2023-06-24 16:40:58 +0000] info [whostmgrd] Internal Server Error: "GET /cpsess8864581121/3rdparty/phpMyAdmin/index.php HTTP/1.1" 500 Internal Error (ID 595246399826468)
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! It's important to note that support for RockyLinux 9 is still experimental, so it's possible not everything works well.

I wasn't able to reproduce on a new RockyLInux 9 build running 112.0.4. I also don't see the libldap package present on the machine.

Can you run this command to ensure that all the cPanel tools are present on the system?

/scripts/check_cpanel_rpms