Control Web Panel

WebPanel => PHP Selector => Topic started by: shoort on October 28, 2023, 04:17:25 PM

Title: need help to select php version
Post by: shoort on October 28, 2023, 04:17:25 PM
hello everyone

i have installed fresh server with cwp panel

i have 2 domains

i am running 1 domain with php version 7.0.33

and i need to run another domain with php version 8.0 or 8.1

how can i set my another domain to different version of php

i am using free version of CWP

when i change from PHP Version Switcher its change for both

i want change in single domain each domain different php version

kindly please help me

Thank you
Title: Re: need help to select php version
Post by: Painkiller88 on October 28, 2023, 07:14:19 PM
Hi,

in the Navigation Panel select Webserver Settings->Webservers Domain Conf->Select Username

From here you can select your domain and create a config, here you can specify the PHP Version for this site.

Tick The checkbox to recreate the Webservers config for this domain and restart apache service and php service and you are running this domain on the desired PHP version
Title: Re: need help to select php version
Post by: shoort on October 28, 2023, 09:04:31 PM
sir i am only getting this options https://prnt.sc/h1Gsl3fbH8dx

how to select php version