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

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.

×
1 answer

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:

https://wiki.centos-webpanel.com/php-version-switcher

Hope that this helps!
Regards,
Alex

Submit an Answer