Posts

Showing posts from May, 2014

Install XDebug in Ubuntu with Netbean.

#sudo -i (need root permison) 1. Install PHP Devel: #apt-get install php5-dev php-pear 2. Instrall xdebug: #pecl install xdebug 3. If success, find xdebug.so add xdebug to php.ini: # find / -name 'xdebug.so' 2> /dev/null /path/to/xdebug.so # vim /etc/php5/apache2/php.ini Add: zend_extension=/path/to/xdebug.so xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 4. Restart Apache. Test open phpinfo file to confirm xdebug loaded. 5. Open Netbean, active php (create PHP Project). Confirm xdebug in Tool/Option/PHP ------------------------------------------------------------ Thanks for reading -------------------------------------------------------------------------- Security Research All my Lab: Linux Lab -- window and Cisco Lab to be continued - I will update more.