• Skip to main content

MrHói's Blog

The simple is the best

You are here: Home / Archives for ubuntu

ubuntu

Installing Xdebug on Ubuntu

June 26, 2011 by mrhoi Leave a Comment

Install Xdebug

sudo apt-get install php5-xdebug

Update xdebug.ini

Now we need to update the xdebug.ini file. Use the following command to open the file with gedit:

sudo gedit /etc/php5/apache2/conf.d/xdebug.ini

Change the file so it looks like this:

; configuration for php xdebug module

zend_extension=”/usr/lib/php5/20090626/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

Restart Apache

All left to do now is restart Apache with the following command:

sudo /etc/init.d/apache2 restart

Now you can check if all is OK with phpinfo(). You should see the following text:

This program makes use of the Zend Scripting Language Engine:

Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

with Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans

with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH

Filed Under: Lập trình Tagged With: Derick Rethans, Install Xdebug, Installing Xdebug, nEins GmbH, Restart Apache, SektionEins, SektionEins GmbH, ubuntu, Ubuntu Install Xdebug, Update xdebug.ini, Zend Engine, Zend Scripting Language Engine, Zend Technologies

Ubuntu cho Web developer

April 29, 2011 by mrhoi Leave a Comment

  • Setup from CD Live or USB
  • Update Driver in System => Administrator => Additional Drivers
  • Update System
  • Install LAMP Server: sudo apt-get install php5 mysql-server apache2
  • Install Software
    1. Chrome browser
    2. Filezilla
    3. Netbeans
    4. Eclipse
    5. Zend framework
  • Update MS Font: sudo apt-get install msttcorefonts
  • RAR
  • Install Firefox Add-ons
    1. Firebug
    2. Web Developer
    3. Flash got
    4. SEO Quake
    5. SEO Doctor
  • Config Apache vhosts
  • Filed Under: Uncategorized Tagged With: Additional Drivers, CD Live, Config Apache, Install Firefox Add, Install LAMP Server, Install Software, Install Software Chrome, LAMP, SEO Doctor, SEO Quake, ubuntu, Update Driver, Update Driver in System, Update MS Font, Update System, Web Developer

    Copyright © 2026 · Revolution Pro on Genesis Framework · WordPress · Log in