In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you how to configure php+phpStorm+xdebug, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
1. Download the xdebug file
Http://xdebug.org/wizard.php
Copy the source code of phpinfo () into the text box, and xdebug prompts you how to configure and download which version of xdebug.
Download all address:
Http://www.xdebug.org/download.php
two。 Configure php.ini, adding at the end.
Zend_extension= "php_xdebug-2.3.3-5.6-vc11.dll" xdebug.remote_enable = Onxdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_port = 9000xdebug.idekey = PHPSTROM
Xdebug configuration of 3.chrome
Configure it as "phpStorm" in IDE key
Project address: https://github.com/mac-cain13/xdebug-helper-for-chrome
Related configuration of 4.phpStorm
Open phpStorm
-enter File > Settings > PHP > Servers, where you need to fill in the relevant information on the server side. Enter name, enter localhost,port, and enter 80 debugger.
Choose XDebug
-enter File > Settings > PHP > Debug, and see the XDebug tab. Enter 9000 for port. Other defaults
-enter File > Settings > PHP > Debug > DBGp Proxy,IDE key, fill in phpStorm,host, fill in localhost,port, fill in 80
-Click OK to exit the setting.
5. Other configurations:
Turn on the monitor (phone button) in phpStorm.
Restart apache, such as using the command line: net stop apache24 & net start apache24
Check whether xdebug is configured correctly: go to the php.exe directory: execute php.exe-m to view the relevant modules.
The above is all the content of this article "how to configure php+phpStorm+xdebug". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.