I wrote an index. php file. after entering the url address in the browser, nothing is displayed and there is no error reminder. How can I debug it? I wrote an index. php file. after entering the url address in the browser, nothing is displayed and
After configuring the debugging environment according to the network information, I tried it and found that the function was relatively simple and single file debugging was acceptable. It would be uncomfortable for cross-file debugging projects,
Xdebug is a good helper for PHP debugging, Sublime is a good helper for PHP writing. Here only how to configure, default readers will use sublime text and Xdebug
Installing Xdebug
Ubuntu under Installation: Ubuntu 12.04 under install config PHP
Xdebug is a good helper for php debugging, and sublime is a good helper for php writing. Here we only talk about how to configure it. By default, readers will use sublimetext and Xdebug as a good helper for php debugging and sublime as a good helper
In the development environment, zendstudio can access my project through 192.168.1.100 on a computer, or through a mobile phone. The problem is that I made a breakpoint on my computer (ZendDebugger ), how can I access a breakpoint on a mobile phone?
1. Install vs.php plug-in
2, New PHP Project: For example, select PHP 4 webproject create PHP project.
3. New PHP page
4. Add PHP Code
5. Set the Start Page
6. Set Breakpoints
7, Start debugging
When you start a new instance,
In other words, it seems that there is var_dump ($variable)!
PHP is already very simple, but debugging to manually write, very troublesome.
Reply content:
In other words, it seems that there is var_dump ($variable)!PHP is already very simple,
I used the Dedeampz tool for PHP development, now want to debug, want to install Xdebug, as follows
[xdebug]zend_extension="..\DedeAMPZ\Program\PHP5\php_xdebug-2.4.0-5.4-vc9-nts.dll"xdebug.remote_enable = Onxdebug.remote_handler = dbgpxdebug.remote_
Debugging is the simplest (right ?) :It was okay to install PHP, But I copied someCodeTo find out that it cannot be used, you can use your eyes to carefully correct the code in the book. You must have copied the wrong copy or printed the wrong
I was excited when I saw my comments. The New Year's pass was approaching, and my train ticket was not reached yet. I cried! We still need to live our lives. Blog is definitely coming. OK, question:
I recently wrote the PHP front-end. In case of
There is a PHP program. The command line execution is as follows:
[Root @ h10-vm08 demo] # PHP parsefile. php XXXX. ykml* ** Glibc detected ** free (): Invalid Pointer: 0xb7869b7c ***Aborted[Root @ h10-vm08 demo] #
The so file of PHP extension
1. Enter sudo gedit/etc/PhP5/apache2/PHP. ini on the terminal, and then enter the root password. Then, you can open PHP. ini in a text editor.
2. Set display_errors in PHP. ini to on, for example, display_errors = on.
3. Set error_reporting in PHP.
I used vs. php In. Net to debug and develop PHP. I think this plug-in is very useful.
These days I have been busy working on another website, which is also PHP. I installed this plug-in again because I installed Win8 just a few days ago and I
When I recently solved the swoole server problem with my colleagues, I found that 1 worker processes were in the state of R and the CPU was very time-consuming. The initial conclusion is that there is a dead loop in the PHP code.
Here is a piece of
PHP is a server-side scripting language used to develop dynamic Web applications. No good server-side debugging tool is one of the limitations compared to Java. We usually add echo, var_dump, and so on in the PHP code to display the variable, the
Introduced
notepad++ is an alternative Notepad editor for open source code. It runs in the MS Windows environment and supports a variety of programming languages. You can browse http://notepad-plus.sourceforge.net/for more information.
Xdebug is
I used dedeAMPZ tool for PHP development. Now I want to debug and install xdebug. The following {code ...} there is absolutely no problem with the path, and the version is correct, but xdebug is not displayed when phpinfo () is used. When the
Xdebug is a PHP-oriented debugger and profiling tool. In addition to more debugging information, Xdubug can also provide developers with a lot of information, such as: memory consumption of PHP scripts, total number of calls to a function, and time
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,
According to the information on the network configuration debugging environment after the actual trial of the discovery function is relatively simple, single file debugging can also, if the cross-file debugging project is not so comfortable, the
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.