how to change PHP version ?

dandumit

Verified User
Joined
Feb 14, 2021
Messages
16
Hello All,
I am evaluating DA .
I have installed AlmaLinux and DA .
I have changed until now to nginx + apache (https://docs.directadmin.com/webservices/nginx-apache/general ) and has installed directly php 7.4. My application support maximum PHP 7.3.


Excuse me for stupid question, but how do I change to PHP FPM 7.3 ?
Do I need to follow
https://docs.directadmin.com/custombuild/custombuild-overview/#custombuild-settings
and build a custom config ?
Is there any more simple and clear example ?

Thank you,
Daniel
 
/usr/local/directadmin/custombuild/options.conf
here you can modify 7.4 to 7.3
then here /usr/local/directadmin/custombuild/ run
./build update
./build php n
 
try use custombuild 2.0 ( GUI ) from control panel,

eg,
PHP_SELECTOR_1 = php7.4

just change to "php7.3"
and run building php again ( It on GUI too) or directly on ssh

if you want to makesure it clean old installer;

send command on ssh
"systemctl disable php-fpm74"
 
Thank you all !! wonderful group !
And another question : I get error 500 , I am looking on USer: syte summary logs and I don't see the error .
I have added on account manager > php settings to show all php errors but still nothing. is there any other place to see the error log ?

I have configured for nginx + apache. would it be to ambitious ?
 
Thank you all !! wonderful group !
And another question : I get error 500 , I am looking on USer: syte summary logs and I don't see the error .
I have added on account manager > php settings to show all php errors but still nothing. is there any other place to see the error log ?

I have configured for nginx + apache. would it be to ambitious ?

It seems like you have made a new post for this. Look at my reply from that post.
 
Thank you all !! wonderful group !
And another question : I get error 500 , I am looking on USer: syte summary logs and I don't see the error .
I have added on account manager > php settings to show all php errors but still nothing. is there any other place to see the error log ?

I have configured for nginx + apache. would it be to ambitious ?
Main PHP selector should not use PHP-FPM and will got error 500..
You can use 2nd until 4th PHP selector for PHP-FPM
 
Back
Top