Author Topic: need help to select php version  (Read 813 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
need help to select php version
« 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

Offline
**
Re: need help to select php version
« Reply #1 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

Offline
*
Re: need help to select php version
« Reply #2 on: October 28, 2023, 09:04:31 PM »
sir i am only getting this options https://prnt.sc/h1Gsl3fbH8dx

how to select php version