Possible to have twice the same PHP release?

petersconsult

Verified User
Joined
Sep 10, 2021
Messages
70
Hello,

i have a quick question: is it possible to (temporarily) set twice the same PHP release?

Right now, my server is set up as follows:
php1_release=7.4
php2_release=8.0
php3_release=8.1
php4_release=8.2

i would like to temporarily set it as follows:
php1_release=8.1
php2_release=8.0
php3_release=8.1
php4_release=8.2

Is that possible, or will it break something?

Thank You!
 
I don't know if it could breaking with command "./build php n" due it possible build multiple time on same version.

But without install/update, it fine with just
./build rewrite_confs
 
it's just temporary, because i moved all my clients to php3_release=8.1 to make sure they could handle PHP 8.1..

i'd like to upgrade php1_release=7.4 to php1_release=8.1 without changing everyone just to see if my changes to RoundCube will still work (i suspect the calendar will be a huge pain in the rear)..
if RoundCube works, i'll set it to the following, and move everyone back to php1_release:
php1_release=8.1
php2_release=7.4 (just in case)
php3_release=8.0
php4_release=8.2

Although, come to think of it, if all my clients' sites and applications work in 8.1, there's no reason they wouldn't work in 8.0; i guess i could go straight to the above config..
 
well..
i tried it, can't be done anyway..

Also, you have to run 'build php n' in order for the changes to take effect..
Just running 'build rewrite_confs' doesn't change the order of the php versions
 
is there a way to list all of the domains on the server, along with their selected php version?
 
along with their selected php version?
Yes, without any issue or custom httpd needed.
There is a phpversionlist addon. I'm not seeing it now anymore, the gitbut entry is empty so is the original directory.
But you can still find it with this link

However, when used from DA it could cause some odd issue on install, so you might best download it and then install it or put it somewhere on your own domain and install it from there.
 
grr..
now that i've switched to php8.1 as my main php version, i get logged out of DA as soon as i log in when using Safari (works in Opera)..

EDIT: never mind! cleared caches, all good.. Sorry!
 
Back
Top