I used PHP 7.4 and PHP 8.3.
I installed 8.4, but it failed.
I tried to restore 8.4, but that also failed.
Then, 8.3 installation failed, and 8.4 installation failed again.
Finally, I installed PHP CLI, and successfully installed PHP 8.4.
Now, I use PHP 7.4 and 8.4 on HestiaCP.
I set PHP 8.4 as the default for the web, but it didn’t work.
So, I switched back to 8.4, and the site started working.
I thought it was because some sites were set to 7.4, so I disabled 7.4 in Hestia.
Now, all sites have PHP 8.4 set as the default, but the sites were throwing 500 errors.
So, I manually set PHP 8.4 for each site, and then they started working.
Now, I have about 100 sites on my server. How can I set PHP 8.4 for all of them at once?
Or, is there a way to set PHP 8.4 as the default so it works for all sites?