TurnKey Linux Virtual Appliance Library

Need cli for php

Hi there,

First off I want to thank everyone who has put time and effort into making these turnkey appliances. They truely have saved me hours of work setting up example systems within this last week.

The issue I currently have is with trying to install a CMS called MySource Matrix. I've downloaded and installed the LAPP appliance and started going through the installation process as outline here, but it seems that the installation process requires cli access to php, through the php-cli module. I've checked phpinfo.php and it seems that cli wasn't enabled on compile, which isn't overly surprising really.

I was wondering what steps would be required for me to recompile php with cli and the other modules outlined here to replace the current version of php on the system.

Many thanks,

Gareth

 

Liraz Siri's picture

You don't need to recompile

You're welcome! I'm glad we could help. Regarding your question, there is a simple solution. Debian build multiple packages with different flavors of PHP for different uses (e.g., embedded in Apache, as a CGI service, on the command line)
apt-get update
apt-get install php5-cli

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)