Netbeans 8.2 was finally released during the national Day, and its new PHP-related features include:
Support PHP 7
See the previous translation article: Netbeans 8.2 will support PHP 7
Editor feature Enhancements
The document doesn't seem to be clearly stated and I haven
Netbeans xdebug debugging phpnetbean-xdebug configuration download php_xdebug-2.0.4-5.2.8.dll file, put the php ext folder in php. ini add the following content zend_extension_tsC: phpextphp_xdebug-2.0.4-5.2.8.dllxdebug.remote _ netbeans xdebug debugging php
Netbean-xdebug
, I decided to use NB + XDebug to build the environment. The steps for setting up the environment are cumbersome.
0. Download and install jdk with netbeans (nb)
1. First download NetBeans. The latest version is NetBeans 7.0. Check which PHP plug-in is selected.
For convenience, I downloaded the Full Features version.
Today, I tried to debug the PHP code on a MAC and found that netbeans could not be connected to a breakpoint, but it could not be debugged at all. Some searches found a third-party PHP module called xdebug. Although I only found some information in windows, I tried to build the debugging environment successfully.
Configuration process:
Install xdebug
Modify
Netbeans with PHP is easy to install, plus a xampp, basically invincible, PHP development environment has.
XAMPP Download Address: http://www.apachefriends.org/zh_cn/xampp-windows.html
After the author test, if the Download lite version, PHP does not have xdebug, and the full version directly with the Xdebug, in
Preparations
To successfully debug the PHP application in the netbeans IDE for PHPProgramFor PHP development and installation, you must configure the PHP engine, Apache Local Web server, and xdebug debugger. Enable xdebug
After xdebug is installed, you must enable it in the PHP
PHP integration and development environment-detailed configuration of WAMP + NetBeans if you want to build a PHP integration environment, you need to install Apache, MySQL, PHP, and the development environment (varies from person to person ). This article mainly introduces the PHP
Welcome to the Linux community forum, and interact with 2 million technical staff. Because Swing is used for development in Netbeans, the font of the interface is also configured by the Java Virtual Machine instead of the operating system. The default font size after installing Netbeans is 11px. In Windows, supports a minimum of 12px. The font is 11 p.
Welcome to the Linux community forum and interact with
Due to the use of Swing for development in Netbeans, the UI font is also configured by the Java virtual machine instead of the operating system. The default font size after installing Netbeans is 11px. In Windows, supports a minimum of 12px. Therefore, if the font is 11px, no more... "/> Due to the use of Swing for development in Netbeans, the UI font is also con
This article to give you a detailed introduction of the Mac PHP NetBeans xdebug configuration method, I hope this tutorial for your classmates help Oh.
PHP Configuration
/opt/local/var/db/php5/xdebug.ini
The code is as follows
Copy Code
Zend_extension=/opt/local/lib/php/extensions/no-debug-n
1. Configure PHPDescription: Xdebug.trace_output_dir and Xdebug.profiler_output_dir need to increase permissions#chmod 755/usr/xdebug-tmpXdebug.remote_host is native Ip,xdebug.remote_port is the port that xdebug open in remote Linux, need to notice firewall need to open.Restart PHP-FPM# Killall PHP-FPM#/ETC/INIT.D/PHP-FPMSee phpinfo there must be a xdebug extensi
In NetBeans because of the use of swing for development, the interface fonts are also configured by the Java Virtual machine instead of the operating system. The default font size is 11px after you install NetBeans. In the case of Windows, the minimum support is 12px. So the font 11px is not fully displayed.
The simple solution is to change the font size a bit. The detailed method is to open the etc\netbea
The default font size after installing Netbeans is 11px. In Windows, supports a minimum of 12px. Therefore, the font 11px cannot be fully displayed. due to the use of Swing for development in Netbeans, the font of the interface is also configured by the Java virtual machine instead of the operating system. The default font size after installing Netbeans is 11px.
PHP Configuration
/opt/local/var/db/php5/xdebug.ini
The code is as follows
Copy Code
Zend_extension=/opt/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so[Xdebug]Xdebug.remote_enable=1Xdebug.remote_host=localhostxdebug.remote_port=9000Xdebug.remote_mode=reqXdebug.remote_handler=dbgp
1 output_buffering = Off
Reboot the server
This article will give you a detailed description of the mac php netbeans xdebug configuration method. I hope this tutorial will be helpful to you.
PHP configuration
/Opt/local/var/db/php5/xdebug. ini
The Code is as follows:
Copy code
Zend_extension =/opt/local/lib/php/extensions/no-debug-non-zt
Today, under the Mac, want to debug PHP code, found that NetBeans can not hang breakpoints, the basic debugging. A search found that there is a third-party PHP module called Xdebug, although only to find some information under Windows, but still feel the debugging environment to build success.
Configuration process:
Installing Xdebug
Modify PHP.ini
Restart Ap
Because of the use of swing for development in NetBeans, the fonts in the interface are also configured by the Java virtual machine rather than with the operating system. The default font size is 11px after the installation of NetBeans. In the case of Windows, the minimum support for the song body is 12px. So the font is 11px can not be fully displayed.
The simple solution is to change the font size a bit.
Detailed configuration of PHP integration and development environment ――wamp+netbeans
If you want to build a PHP integration environment, you need to install Apache, MySQL, PHP, as well as the development environment (varies from person to person).
This article is mainly for PHP
Due to the use of Swing for development in Netbeans, the UI font is also configured by the Java Virtual Machine instead of the operating system. The default font size after installing Netbeans is 11px. In Windows, supports a minimum of 12px. Therefore, the font 11px cannot be fully displayed.
The simple solution is to increase the font size. The detailed method is to open the etc \
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.