Forums / Developer / php-cli (php 4.4.4) for eZ publish

php-cli (php 4.4.4) for eZ publish

Author Message

kracker (the)

Thursday 07 September 2006 8:03:01 pm

I have seen a number of folks (in irc://irc.freenode.net #ezpublish) recently ask about the subject of php-cli and eZ publish.

Many seem to be without a php-cli executable binary and looking to find, install or build from source and install php-cli.

I have for some time been offering compiled php-cli binaries at:

<i>http://download.ezcommunity.net/php-cli/</i>

I have ready to go php-cli binaries for GNU/Linux (php v4.3.x and php v4.4.4) and Windows (php v4.3 only).

The binaries have been tested (lightly) and are known to work on just about any current glibc GNU/Linux distribution.

Today I compiled the very latest php-cli (php v4.4.4) for GNU/Linux for an eZ publish client in need of a stand alone php-cli (v4.4.x) binary.

I have posted the packaged binary for others who do not have php-cli and have found they need php-cli in their eZ publish development and production servers.

<i>http://download.ezcommunity.net/php-cli/linux/php-4-4-4-cli.tar.gz</i>

The packaged binary is simple for anyone with shell access (ssh) to upload to their eZ publish installation and use it without having to ask your hosting provider to install php-cli (some hosting providers will not offer this service or the software). This compiled works out of the box.

For those users who can, I still recommend compiling the standalone php-cli from source themselves.

Here are the commands I used today to compile php-cli from source

# php-cli (php 4.4.4) compile instructions:

lynx http://www.php.net/get/php-4.4.4.tar.gz/from/a/mirror

tar -vzxf php-4.4.4.tar.gz

cd php-4.4.4

mkdir /usr/local/php-4-4-4-cli

./configure --prefix=/usr/local/php-4-4-4-cli/php-cli --disable-cgi

make

make test

make install-cli

cd /usr/local/

tar -vzcf php-4-4-4-cli.tar.gz php-4-4-4-cli

For the rest ... enjoy the php-cli precompiled binary package!

Happy Hacking,
<i>//kracker

Kottonmouth Kings - Enjoy</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Mark Marsiglio

Monday 30 October 2006 1:01:58 pm

Incredibly useful - thanks for posting! I wish I had noticed this last month...

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

kracker (the)

Monday 30 October 2006 4:18:57 pm

Your very welcome. Do you think this would make a good documentation article / entry?

They are always asking and I keep re-posting to temporary knowledge repositories

<i>aka</i>

These forum display / browser 'threshold/search/tag' viewer templates provided on ez.no ...

Lead to one thing, short term memory and long term brain damage.

Now who's crazy to be doing what after how long?

//kracker
<i>responsive workflow results in == 'silence' ....</i>
<i>kmk - kIIk - one too many timez</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/