PHP环境安装-phpstudy for linux版

WBOY
Release: 2016-06-23 13:23:44
Original
1188 people have browsed it

下载地址:

下载版:http://lamp.phpstudy.net/phpstudy.bin

完整版:http://lamp.phpstudy.net/phpstudy-all.bin

PHP环境支持:

解释:Apache/Nginx/Tengine/Lighttpd

PHP版本:支持php5.2/5.3/5.4/5.5切换 

操作系统:已经在centos-6.5,debian-7.4.,ubuntu-13.10测试成功

安装方法:

下载好 .bin 文件

  1. cd到下载目录

  2. chmod +x ./phpstudy.bin  给权限

  3. 然后在终端中运行 ./phpstudy.bin

  4. 等待编译完成

使用方法

在终端中使用sudo 或者 使用管理员账号运行 phpstudy start 开启

命令列表:

phpstudy start | stop | restart        开启 | 停止 | 重启

phpstudy add | del | list                    添加虚拟主机 | 删除虚拟主机 | 查看虚拟主机列表

            注:添加或删除过虚拟主机域名,需要重新修改host文件配置,(sudo vim /etc/hosts)

phpstudy ftp add | del | list           

配置文件地址

apache配置文件:/phpstudy/server/httpd/conf/httpd.conf

PHP配置文件:/phpstudy/server/php/etc/php.ini

打开Mysql控制台

/phpstudy/mysql/bin/mysql -uroot -proot



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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!