how change php version from 5.6 to 7.3 in centos 7 cwp7

I try to change php version via cwp gui. I not use cwp pro-version


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @prabhuece187

CWP has a PHP Switch option where you can very easily switch to other PHP version and recompile it with desired modules.

How to use it?

  • Click on PHP Version Switcher (here you will get server PHP version and compiled modules which your server has now compiled).
  • Select PHP Version you wish to compile in drop-down menu and click next.
  • In PHP compiler you can add or remove modules you want.
  • Click on Start compiler and compiler will start to work in background.

Compiler needs from 5 to 20 minutes to finish, depending on modules you are installing and your CPU power. You can return in eg. 15 minutes and in CWP - PHP Version Switch check which version of PHP and modules you have now.

Your websites and CWP will work during compiler process and PHP will be update when the compiler is completed.

You can check CWP official docs as well:

Hope that this helps! Regards, Alex