1. PHP 相关

1.1. 调试准备


1.2. phpStorm 环境配置

文件: /opt/lampp/etc/php.ini

# 文件: /opt/lampp/etc/php.ini

# 注释
# To disable the Zend Debugger and Zend Optimizer tools, which block Xdebug, remove or comment out the following lines in the php.ini file:
# zend_extension=<path_to_zend_debugger>
# zend_extension=<path_to_zend_optimizer>

# 新增
[Xdebug]
zend_extension = "xdebug.so"
xdebug.remote_enable =1
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_mode = req
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM

1.3. ThinkPHP

1.3.1. 自带的web服务器

cd public;
php -S localhost:8877 router.php

1.3.2. 资源


1.4. EasyWeChat


1.5. 参考

Copyright © book.bbxyard.com 2014-2019 all right reserved,powered by Gitbook该文件修订时间: 2019-07-14 10:48:57

results matching ""

    No results matching ""