Tuy nhiên vi ngôn ng lp trình PHP không hn ai cng bit cách thit lp debug. In Windows, if you get ERROR: MySQL service not started, you may be able to correct this by going to c:\xampp\mysql and running mysql_uninstallservice.bat followed by mysql_installservice.bat. Xdebug PHP vi XAMPP và PHPStorm Bn làm v lp trình thì vic debug rt là quan trng. Then press Exit to close the application. Press Start for Apache and wait a few seconds and the green Running message will again display. In Windows, we can just browse to the c:\xampp folder in Windows Explorer and double-click the program xampp-control.exe to open the application shown below. Now we need to verify that XDebug is installed correctly. Unzip and copy one of the xdebug.so files to /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626. You can download a newer version from the ActiveState website. The current (as of Sept 2010) version of the XAMPP binary for OS X contains the 2.0.4 version of XDebug which will not let you see the variable data from included files when running XDebug. The folders in your XAMPP installation may be named differently. Xdebug.profiler_output_dir = "/tmp/xdebug/"īe sure to navigate to the directory where you targeted the extension and verify that the file path is correct. Zend_extension="/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so" Find the line implicit_flush and set it as follows:.We need to edit this file to configure XDebug as follows: To check that you are running the correct version of XDebug on your system, follow these instructions on the XDebug site. The symptom of this earlier problem was that the Apache server would stop if this version of XDebug is loaded. In some earlier versions of XAMPP, the distributed version of XDebug did not work correctly. Important note for Windows 7 & Vista users: As of August 2013 (XAMPP version 1.8.2), the file php_xdebug.dll that is included with XAMPP now works with Windows 7 & Vista. For Windows, this is normally c:\xampp\apache\bin\php.ini. The Loaded Configuration File tells you which php.ini file is being used. To do that, we will edit the php.ini file to configure XDebug. Starting with version 1.7, XAMPP includes the XDebug PHP debugger, but it needs to be configured for use. 2.2 Tip for Users with LAN or Remote Servers.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |