After installing Xampp on windows, make the following settings in the php.ini file to configure Xdebug for your IDE.
Open php.ini file under <Xampp_Home>\php directory, for editing.
- Note: <Xampp_Home> is the location of Xampp installed. eg: C:\Program Files\Xampp refers to <Xampp_Home>.
Find & uncomment(ie., remove semicolon(;)) from the following lines,
zend_extension="<Xampp_Home>\php\ext\php_xdebug.dll"
xdebug.remote_host=localhost (change 'localhost' to '127.0.0.1')
xdebug.remote_enable=0 (change '0' to '1')
xdebug.remote_handler="dbgp"
xdebug.remote_port=9000
Save php.ini & restart the computer.
No comments:
Post a Comment