Problem on installing Joomla 4 on a virtual server

SYSTEM INFORMATION
OS type and version CentOS Linux 7.9.2009
Webmin version 2.105
Virtualmin version 7.9.0

Good afternoon everyone. Sorry for my English.

I tried to migrate a joomla 4 website from ovh ( a host manager) to my virtualmin as a virtual server. The files and database where correctly placed.
I checked the required component for joomla 4 ( php, mariadb and apache). All are good apart from mariadb.
I’m affraid to ugrade it from version 5 to 10 because I’m having 5 others Virtual server using it.
Please is this error because of mariadb!

Here is the error in the log file

[Wed Jan 03 02:31:04.356505 2024] [fcgid:warn] [pid 27708] [client 195.90.221.76:41654] mod_fcgid: stderr: PHP Warning: session_start(): Failed to initialize storage module: user (path: /home/rdv-medical/tmp) in /home/rdv-medical/public_html/libraries/vendor/joomla/session/src/Storage/NativeStorage.php on line 478
[Wed Jan 03 02:31:04.380101 2024] [fcgid:warn] [pid 27708] [client 195.90.221.76:41654] mod_fcgid: stderr: PHP Warning: mysqli::prepare(): invalid object or resource mysqli
[Wed Jan 03 02:31:04.380113 2024] [fcgid:warn] [pid 27708] [client 195.90.221.76:41654] mod_fcgid: stderr: in /home/rdv-medical/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 137

if there is a difference in the MariaDB version then you can do one of the following:

  • export DB at old server and then import the SQL file at the new server.
  • if you placed the files directly on the server, you will need to run the MariabDB upgrade utility (not sure how to do this)

Have you checked that the PHP version is correct?

Have you checked PHP execution mode ? FPM

I changed the php version to 7.2.3 and it worked

You should be able to run 8.2

7.2 is too old.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.