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/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 04:31:03
Script start
Timing: Jan 31 2025 04:31:03
Module start 'layout'
Timing: Jan 31 2025 04:31:03
Module start 'content'
Timing: Jan 31 2025 04:31:04
Module end 'content'
Timing: Jan 31 2025 04:31:04
Script end

Main resources:

Total runtime1.1707 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.1406151.2109
Module start 'layout' 0.00700.0022 739.351636.6484
Module start 'content' 0.00911.1607 776.0000950.2891
Module end 'content' 1.16990.0008 1,726.289112.1563
Script end 1.1707  1,738.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2741160.0002
Check MTime0.00120.1052160.0001
Mysql Total
Database connection0.00120.098510.0012
Mysqli_queries1.111494.9383570.0195
Looping result0.00050.0411550.0000
Template Total1.125196.120.5625
Template load0.00210.182320.0011
Template processing1.122995.918620.5615
Template load and register function0.00150.128510.0015
states
state_id_array0.00180.155610.0018
state_identifier_array0.00140.122920.0007
Override
Cache load0.00180.1509350.0001
Sytem overhead
Fetch class attribute can translate value0.00060.047220.0003
Fetch class attribute name0.00200.167850.0004
XML
Image XML parsing0.00130.109720.0006
class_abstraction
Instantiating content class attribute0.00000.000860.0000
General
dbfile0.00160.1372230.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs