note 109421 modified in features.commandline.webserver by danbrown

From: Date: Mon, 16 Jul 2012 15:03:15 +0000
Subject: note 109421 modified in features.commandline.webserver by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189168@lists.php.net to get a copy of this message
There no problem to configure xdebug with php 5.4 built-in server.&#13;&#10;&#13;&#10;If you debugging on local (dev) machine you need to :&#13;&#10;1) add to php.ini:&#13;&#10;zend_extention=/abosute/path/to/xdebug.dll&#13;&#10;# USE ABSOLUTE PATH!!! relative path does not work.&#13;&#10;#http://xdebug.org/docs/install&#13;&#10;xdebug.remote_enable=1&#13;&#10;2) run php from command line:&#13;&#10;php.exe -S localhost:3000&#13;&#10;3) check if xdebug loaded:&#13;&#10;#index.php&#13;&#10;&#60;?php phpinfo(); ?&#62;&#13;&#10;&#13;&#10;4) configure NetBeans, Eclipse to work with localhost:3000&#13;&#10;&#13;&#10;Notes: latest release of NetBeans 7.1,(7.2RC) (date july 2012)&#13;&#10;seems to be unstable when working with build-in webserver and xdebug, but Eclipse PDT works fine. --was-- There no problem to configure xdebug with php 5.4 built-in server. If you debugging on local (dev) machine you need to : 1) add to php.ini: zend_extention=/abosute/path/to/xdebug.dll # USE ABSOLUTE PATH!!! relative path does not work. #http://xdebug.org/docs/install xdebug.remote_enable=1 2) run php from command line: php.exe -S localhost:3000 3) check if xdebug loaded: #index.php <?php phpinfo(); 4) configure NetBeans, Eclipse to work with localhost:3000 Notes: latest release of NetBeans 7.1,(7.2RC) (date july 2012) seems to be unstable when working with build-in webserver and xdebug, but Eclipse PDT works fine. http://php.net/manual/en/features.commandline.webserver.php

« previous php.notes (#189168) next »