Changed PHP version(7.2->7.4) from CustomBuild and restarted apache but not changing actual PHP version

sourabk

New member
Joined
Aug 5, 2021
Messages
5
I have changed the PHP default version from 7.2 to 7.4 using CustomBuild. It saved correctly and showing version as 7.4 in CustomBuild window. But my actual apache PHP version not updating even after restarted apache. Please help me to update this.


1628153962255.png1628153932610.png
 
Looks like you have multiple PHP versions installed. In this case, under Domain Setup > your domain, at the bottom of the screen you should see a PHP Version Selector where you can switch between PHP versions.
 
Thanks for your quick reply. But my default PHP version is 7.4. So it is automatically selected as 7.4 under
domain setup. But in my site server details still showing 7.2.

1628155166297.png1628155195328.png
 
Did you click "update" button? Did it throw any errors?
 
Thank you for your response. When clicking update button it showing as done in terminal, but actually not updating.

1628162435391.png1628162508822.png
 
Can you please clarify that the PHP recompile can be done through the given commands.
./build php n
./build rewrite_confs
 
Showing error when I was trying to recompile PHP. Please anyone help me out.

Can't open Makefile: No such file or directory.
Trying to make php...
make: *** No targets specified and no makefile found. Stop.

1628483924425.png
 
Please try the following:
Code:
apt-get --force-yes install libsqlite3-dev
 
Back
Top