Method: 1. Open the phpstudy interface, find the "Switch Version" button on the interface, and click it; 2. Select the required php version and server type (Apach, Nginx or IIS); 3. phpstudy will automatically Restart. When the indicators are all green, it means the PHP version switch is successful.
The operating environment of this tutorial: windows7 system, PHP7.2&&phpstudy2018 version, DELL G3 computer.
Open the phpstudy interface. Click "Switch Version" on the interface.
Select the php version and server version and type you want to use.
#The phpstudy program will automatically restart the server.
After the restart is completed, the interface is as shown below, indicating that the PHP version and server have been switched successfully.
Recommended learning: php video tutorial
The above is the detailed content of How to set php version in phpstudy. For more information, please follow other related articles on the PHP Chinese website!