Dependent Origination

xfce debian wheezy does not have php with readline support

Posted on: June 7, 2012

due to licensing issues😦

what does this mean? this means when you run php -a:
with readline support, you are going to see php> prompt and you can type in statements in php and the interpreter runs it for you. really useful tool when you just want to see what a statement does.
without readline support, you will see ‘Interactive Mode Enabled’, but without the prompt. you can paste in html code (i.e., with <?php tags), hit ctrl-D, then the interpreter runs it output something — it sucks.

one version says Php 5.4 compiled readline into a separate module, so you can work around it — the licensing issue only prevents debian wheezy from distributing a php with readline support, it doesn’t prevent you from using it

another solution is to install phpsh — i wanted to do this for a long time since phpsh (the one from facebook) is awesome — probably will do it for next hackathon — would love to get back to the beloved phpsh — even more useful than php -a the interactive shell.

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

June 2012
M T W T F S S
« May   Jul »
 123
45678910
11121314151617
18192021222324
252627282930  

Twitter

  • is emptying trash and happily discovering the available disk space now ranks at 100G+. 2 days ago
  • is looking at other people's intentions, not their capabilities, and feeling much happier every day :) 11 months ago
  • is planning on how to spend the next two weeks until the new year, at home. 11 months ago
  • is going to have human company for Thanksgiving; a rare event for the past like twenty years. 1 year ago
  • living by myself again; a strange feeling in a bustling city with thirteen million people 1 year ago

Flickr Photos

IMG_3517

IMG_3515

IMG_3505

IMG_3497

IMG_3261

IMG_3260

IMG_3255

IMG_2736

IMG_2733

IMG_2629

More Photos
%d bloggers like this: