(1) How to use
Use sudo in the terminal or run phpstudy start with an administrator account to start
(2) Command list:
phpstudy start | stop | restart start | stop | restart
phpstudy add | del | list Add virtual host | Delete virtual host | View virtual host list
Note: If you have added or deleted a virtual host domain name, you need to re-modify the host file configuration, (sudo vim /etc/hosts)
phpstudy ftp add | del | list
(3) Configuration file address
apache configuration file: /phpstudy/server/httpd/conf/httpd.conf
PHP configuration file: /phpstudy/server/php/etc/php.ini
(4) Open the Mysql console
/phpstudy/mysql/bin/mysql -uroot -proot
.