How to Downgrade PHP to 7.4 for example.com (Reseller/User) via User or Admin Level Without Affecting Entire Reseller Account?

iPwsite

Verified User
Joined
May 9, 2020
Messages
27
Subject: How to Downgrade PHP to 7.4 for example.com (Reseller/User) via User or Admin Level Without Affecting Entire Reseller Account?

Hi DirectAdmin Community,

I’m trying to downgrade PHP from 8.3 to 7.4 for just example.com, owned by a reseller/user account (example), using the User or Admin Level in DirectAdmin. I want to avoid affecting other domains in the reseller’s account or user accounts they manage.

How can I do this from the admin panel (e.g., via File Manager or another method)? Does changing PHP for example.com impact the reseller’s other domains/users?

Thanks!

System Info: DirectAdmin, example.com is under user example (also a reseller).
 
I’m trying to downgrade PHP from 8.3 to 7.4 for just example.com,
Ýou can't just downgrade for 1 account or rather it's not called that way. But you can change for one account is the correct term.

To be able to do this, you have to use admin level, then go to Custombuild and add php 7.4 as second PHP option.
Once installed, you can choose on a per domain base which php version you want to use.

So default php 8.3 will be used but then you can set php 7.4 for example.com if you want.

The docs show the commandline options via SSH but you can also do this via the custombuild plugin in the DA interface as admin.


Be aware! EOL PHP versions can be installed, but DA just supports installation, not security patches as they are not provided anymore. So there might be security risks on using ancient php versions.

If you want security patched php versions you need to buy Cloudlinux.
 
Yup security and you can see some in those repos from Remi
I don't know if you can patch with those infos?
But knowledge about it is important , sometimes you don't use things or use is without much risk depending on settings and use.
Better to update applications asap.

Sorry only short quick info you need to read yourself , and better to have a old versions , unsafe panel server separate from te rest if they need it very much

 
Back
Top