Atitit phpstorm Configuration attilax Summary
1. Pre-Preparation 1
1.1. Configuring Interpreter 1
1.2. Debug requires xdebug support, either script mode or Web mode 3
2. run in PHP script 3
2.1.1. running in PHP Web 4
3. configuration and use of PHP Web Debug 4
3.1. multi-user remote debugging xdebug.remote_connect_back=1 4
3.2. Reference 5
1.
Pre-Preparation1.1.ConfigurationInterpreter
first, in phpstorm it is possible to run the PHP program directly without having to start the Apache server manually, which provides a great convenience for me to write and debug the code without having to manually start the Wampware-related environment each time. The premise is that you need to configure the PHP interpreter, if not configured, at run time will be in the bottom right corner pop-up prompts, need to configure the interpreter interpreter. You can also manually configure: In the file->settings->languages&frameworks->php directory open the Configuration interface, the right green "+" button, add your PHP program path, and select the relevant CLI Interpreter, click OK to configure the completion
However, be aware that running PHP files need to be placed in the Apache Web site root directory, if the files that are not running in this directory will be displayed 502 bad gateway.
At this point, use Run directly to open
Http://localhost:63342/vmcenter/frontend/yunprint/t.php?_ijt=4pqcp57nmg77r9kdopiemlp6ks
normal use. Somewhat like vs
no Apache support required.
1.2.
Debug requires xdebug Support, both in script mode and Web mode
Configure Debug
[XDebug]
Xdebug.profiler_output_dir= "D:\phpStudy\tmp\xdebug"
Xdebug.trace_output_dir= "D:\phpStudy\tmp\xdebug"
Xdebug.remote_enable = On
Xdebug.remote_handler = DBGP
xdebug.remote_host= localhost
Xdebug.remote_port = 9000
Xdebug.idekey = Phpstorm
zend_extension= "D:\phpStudy\php\php-5.4.45\ext\php_xdebug.dll"
; zend_extension= "D:\phpStudy\php\php-5.4.45\ext\php_xdebug.dll"
2.
run in php script
If you miss this option, you can delete the generated run configuration item, one more time.
2.0.1.
running in PHP web
3.
the configuration and use of PHP Web debug
Add a PHP web App debug configuration
Server ""http://localhost:63342
Path "" /vmcenter/frontend/yunprint/t.php
When you start, you start the debugging. You can also enter this URL directly to start debugging.
http://localhost:63342/vmcenter/frontend/yunprint/t.php?XDEBUG_SESSION_START=13417
Is there this Xdebug_session_start the parameters are irrelevant. Just execute to this URL. The IDE is connected via port 9000. If connected, it will stop at the breakpoint.
3.1. Multi-user remote debugging xdebug.remote_connect_back=1
The default host debugs can only be localhost or public IP. If the intranet IP needs to access the public network debugging, you need to use the remote return mode.
or multi-person host different machine debugging project. You also need to use this setting: Because host can only set one, there is no way to multiple:
3.2.
References
Phpstorm Interpreter and Server configuration (resolve 502 bad gateway with 404 Not Found problem)-Thevictory Blog-Blog Channel-CSDN.NET.mhtml
Phpstorm Configure Xdebug to debug PHP tutorial _php Tips _ Scripting House. MHTML
author :: nickname : old Wow's paw Claw of Eagle idol iconoclast image-smasher
Bird King "Bird Catcher Kok devout pious religious defender Defender of the Faith. Caracalla Red Cloak Caracalla Red Cloak King of the Beast
abbreviation:: Emir attilax Akbar Emile Atiraca
Full Name:: Emir Attilax Akbar bin Mahmud bin Attila bin Solomon bin Adam Al Rapanui Emile Atilax Akbaben Maham Solomon Ben Adam Arrapa Ms Nooyi
Common name: Etila (Ayron), Email:[email protected]
title:Head of Uke headquarters , founder of global Grid project,
Uke Friendship Association President UKE Hunting Association President Emir Uke Tribe chief Grand Chief,
Uke , Minister of Religious and Cultural Integration Affairs, Vice-Chairman of the Uke Reformation Commission
Uke System and chairman of the major conference committee,uke Security Department Chief Brigade , uke System Inspection Committee vice president,
Uke chief CTO Software Division Director of Technical department deputy Director of Research and Development department Director of Product department deputy Manager Project department deputy manager uke Science and Technology Research Institute Dean uke c6> Software Training Master
Uke Polynesia District chain Head of the region of Tonga Kingdom director of the Uke Kerr Glen, chain head, Line Is. District,uke Bouvet and South Georgia and South Sandwich Is. regional chain head
Uke, chairman of the Association of Software Standardization , Vice president of Uke Database and storage Standardization Association
Uke , founder of Uke Hospital and medical School, vice president of lifelong education school
UEC , President of Uecip , director of uke Document retrieval Department, head of Department of Image processing machine Vision
Uke, chief Dean of the School of image processing and machine vision
Uke Outdoor Sports Association chairman of the resort chief Mayor Uke Press editor
reprint Please indicate source:Attilax 's column http://blog.csdn.net/attilax
http://www.cnblogs.com/attilax/
--atiend V9
Atitit Phpstorm Configuration Attilax Summary