How to select PHP version in OpenLiteSpeed web server
-
Login to your OpenLiteSpeed panel.
-
Click on the Tools menu and then select Compile PHP option
-
On the next window, select the PHP version as per your need and then click on Next button.
-
Leave the build option as it is and then select Next button
-
In this step the you have to wait for few minutes. please do not refresh the browser. If main status says “Finished successfully” then you can proceed ahead
-
Then you have to access the server via SSH and then run the following script
/usr/local/lsws/phpbuild/buildphp_manual_run.sh
-
Once you run the above command, it may take few minutes to complete the task and you will see output in status area.
-
If face the below error, then run the following command
apt-get install libcurl4-openssl-dev pkg-config /usr/local/lsws/phpbuild/buildphp_manual_run.sh
-
Once it is done, you will see following output
CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME
for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS