Home  >  Article  >  Backend Development  >  Does Linux have a PHP integrated environment?

Does Linux have a PHP integrated environment?

王林
王林Original
2019-10-14 17:57:123272browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to run php on linuxNext article:How to run php on linux