Home > Article > Backend Development > Does Linux have a PHP integrated environment?
1. Download the software installation package
wget -c http://lamp.phpstudy.net/phpstudy-all.bin
2. Modify the execution permission of the software installation package
chmod +x phpstudy-all.bin
3. Perform installation
./phpstudy.bin # 输入2至5的数字选择php版本 # 输入a或者n或者t或者l # 输入y确认安装
4. How to switch php version
If you first The installed apache php5.3, if you want to switch to nginx php5.4, you can go to ./phpstudy.bin again, but you will find a line prompting whether to install mysql. Select "n" here not to install, so you only need to compile nginx. php5.4, thus saving time, it only takes a few minutes.
5. Instructions for use
Service process management: phpstudy (start|stop|restart|uninstall)
Site host management: phpstudy (add| del|list)
ftpd user management: phpstudy ftp (add|del|list)
Recommended tutorial: PHP video tutorial
The above is the detailed content of Does Linux have a PHP integrated environment?. For more information, please follow other related articles on the PHP Chinese website!