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

Does Linux have a PHP integrated environment?

王林
Release: 2023-02-26 16:26:02
Original
3328 people have browsed it

Does Linux have a PHP integrated environment?

1. Download the software installation package

wget -c http://lamp.phpstudy.net/phpstudy-all.bin
Copy after login

2. Modify the execution permission of the software installation package

chmod +x phpstudy-all.bin
Copy after login

3. Perform installation

./phpstudy.bin
# 输入2至5的数字选择php版本
# 输入a或者n或者t或者l
# 输入y确认安装
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template