Install phpdbg on ubuntu 14.04

  1. Install phpenv
  2. Download bison 2.7 and install it http://mirror.esc7.net/pub/Ubuntu/pool/main/b/bison/
  3. cd ~/.phpenv
    cd libexec
    vim phpenv-install
  4. Here is the most important part, we need to add more options to CONFIGURE_OPTIONS
    CONFIGURE_OPTIONS=”…….. –with-readline \ –enable-phpdbg\ ……………………..”
  5. phpenv install php-5.6.2
    At the time this post is published, the latest version of PHP is 5.6.2, you can change that.
  6. cd /path/to/your/index.php
    phpenv local 5.6.2
  7. Remember to restore configure options if you want to install other version of php via phpenv
Advertisements

2 thoughts on “Install phpdbg on ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s