Monthly Archives: July 2024

The public_html folder permission keeps getting reverted in cPanel

The ownership keeps getting changed to user.nobody in cpanel automatically.

on debugging this issue it was found that cpanel has a new feature which was causing this

in

Home /
Server Configuration /Enable File Protect

Disabling it fixed the issue of permission changing automatically


Tweak Settings

Updating “Enable File Protect” from “On” to “Off”.
“Enable File Protect” was updated.
Processing post action for Enable File Protect:
Setting /home permissions to 0711 …
Setting permissions for users …
my247web …
… Done
“Enable File Protect” was updated.
Done.

cPanel PHP 8.3 does not install Ioncube

cpanel latest version which does not include ioncube loader in php 8.3

due to check softacolous does not work

Fix of this issue is to install iocoube loader for PHP 8.3

Below are the steps to be executed

wget -O /usr/local/cpanel/3rdparty/php/unversioned/ioncube/ioncube_loader_lin_8.3.so https://files.virtualizor.com/ioncube/64/ioncube_loader_lin_8.3.so

Check version of Ioncube using below command

/usr/local/cpanel/3rdparty/bin/php –version
PHP 8.3.8 (cli) (built: Jun 11 2024 12:00:31) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.8, Copyright (c) Zend Technologies
with the ionCube PHP Loader v13.3.0, Copyright (c) 2002-2024, by ionCube Ltd.

Child failed to make LIVEAPI connection to cPanel.

Softacalous on cpanel was giving error or ioncube loader

Even disabling and reenabling ioncobe from tweak setting didnt fix the issue

Script error: the ionCube Loader for PHP needs to be installed. The ionCube Loader is the industry standard PHP extension for running protected PHP code, and can usually be added easily to a PHP installation. For Loaders please visit: https://get-loader.ioncube.com For an instructional video please see: http://ioncu.be/LV Child failed to make LIVEAPI connection to cPanel.

Reinstalling softacalous should fix the issue

wget -N http://files.softaculous.com/install.sh
chmod 755 install.sh
./install.sh –reinstall

Mysql 8.0 breakdown

Mysql 8.0 was not started on cpanel all of sudden without issue

After googling the issue was found to be with MySQL 8.0.38 release

Run the below 3 commands

yum downgrade mysql-community-* # to downgrade mysql to previous version

/scripts/restartsrv_mysql # Restart mysql

dnf install python3-dnf-plugin-versionlock #install version lock on amla linux

yum versionlock mysql* #lock the mysql version so cpanel wont overwrite it

Mysql should be up and online and version lock will stop cpanel overwritting it on nightly updates until lock is removed