Submitted by onmagic on Sat, 09/05/2020 - 22:48
as title,
I want to know how to apply and set different php version on different domain.
then, how can set independent php ini file on different domain.
Status:
Active
as title,
I want to know how to apply and set different php version on different domain.
then, how can set independent php ini file on different domain.
Comments
Hi,
Those are controlled under Server Configuration/PHP Versions, in case more than one PHP version is installed.
How to install multiple PHP Versions with Virtualmin.
Submitted by onmagic on Sun, 09/06/2020 - 19:47 Comment #2
can reset the php.ini in each domain ?
for example : domain1.com running in php 7.2 domain2.com running in php 7.2
but domain1.com need change some of the configuration ?
In directadmin : I can do this from :
add "SetEnv PHP_INI_SCAN_DIR /home/|USER|/" in Httpd.conf Customization for domain1.com <- sample
Yes, there is a way to do it without any hassle - check Services > PHP 7.x Configuration page.