mysql 8 and php.

Posted in: Newsmag
Post count: 312

hello,
“From a hosting perspective, we see that the PHP and MySQL versions used on the cPanel server are outdated. Updating these applications should improve TTFB, but it involves risks:
1. You need to ensure that the site is compatible with PHP 8.1 and MySQL 8. (Currently, these are: PHP 7.4 and MySQL 5.)”

Can I perform this update without any problems on the site? Will the update work perfectly? I look forward to hearing from you.

thanks

Post count: 35449

Hello,
There shouldn’t be any issues, but I recommend applying the update on a staging environment first. If you encounter any problems, feel free to let us know, we’ll be happy to take a look and assist.
Thank you!

Post count: 312

Calin, good evening.
We’re working with our server team to update the operating system and MySQL. Which MySQL versions is Newsmag compatible with? Is it version 8.0? Thank you.

Post count: 35449

Hello,
Yes, you can use MySQL version 8. On my installation, I’m currently running MySQL 8.0.30 and PHP 8.3.12.
Thank you!

Post count: 312

Calin, another question – we’re upgrading our server operating system – https://support.cpanel.net/hc/en-us/articles/5946421721623-How-to-upgrade-from-CentOS-7-to-AlmaLinux-8-or-CloudLinux-7-to-CloudLinux-8-with-cPanel-ELevate

Is it compatible with our Newsmag theme? Looking forward to hearing from you, thanks.

Post count: 9544

ugh… reminds me I need to get on the migration from CentOS also. Doh.

Post count: 35449

Hi thalesbrandao, yes, the theme should be working after the operating system update.

Post count: 312

Calin, thank you very much. We’re already working on updates. Another question—could you tell me which folders our database is in? And is there an alternative way to back up all our data?

Post count: 35449

Hi,
You can use this guide to have a full backup for your website and database – https://www.youtube.com/watch?v=LAJXrSI-dDA&list=PL6CsDkMaejhoHETIWoxnRB4zefz8L8PYg&index=3
Thank you!

Post count: 312

Calin, good afternoon. I updated PHP and everything went well. However, I received an email from an unknown person informing me that info.php was exposed, containing all the information and paths about our website. How should I hide this information to prevent data from becoming vulnerable?

Regarding the backup – I used the video method, and our website experienced significant instability because it generated a huge backup file on our server. Copying the website’s main folder to our machine – if something goes wrong, how can I recover all our data? Thank you very much.

Post count: 20685

Hi,

Normally a PHP info file should be created and used just when needed, and after its not needed it should be deleted. I see you still have it https://www.cidademarketing.com.br/marketing/info.php Please remove it, the file is in the wordpress folder, you can use any file manager to do it.

A backup will be large if the website is large. It contains all the website files and the database. You can use other backup methods or dedicated plugins but the size will be about the same. A duplicator package however can be installed on the same website or on a new server quite easily. You just upload the package and install it manually in case the website cannot be accessed anymore https://duplicator.com/knowledge-base/classic-install/ If the website can be accessed then you can restore it through the duplicator plugin panel.

Thanks.

Post count: 312

Simion, good afternoon.
Thank you for the tips and guidance.
We are migrating our environment to a new machine – following the configurations:
Almalinux 9.6.
cPanel will be moving from 11.110.0.77 and will be updated to version 11.130.0.14.
Is our theme compatible with this environment? Thank you very much!

Post count: 20685

The theme should work fine. There aren’t any special dependencies based on the version of the operating system or the cPanel version. The theme should work on either versions, since there are so many hosting providers and each use different versions.

Thanks.

Post count: 312

Thanks very much.

Viewing 14 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic.