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/

eZ debug

Timing: Jan 18 2025 15:49:56
Script start
Timing: Jan 18 2025 15:49:56
Module start 'content'
Timing: Jan 18 2025 15:49:57
Module end 'content'
Timing: Jan 18 2025 15:49:57
Script end

Main resources:

Total runtime1.1722 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.8516180.8281
Module start 'content' 0.00691.0476 769.6797559.6094
Module end 'content' 1.05450.1176 1,329.2891337.0547
Script end 1.1721  1,666.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3424210.0002
Check MTime0.00140.1223210.0001
Mysql Total
Database connection0.00100.082110.0010
Mysqli_queries1.101393.95391940.0057
Looping result0.00190.15801920.0000
Template Total1.132996.620.5664
Template load0.00230.194520.0011
Template processing1.130696.450120.5653
Template load and register function0.00010.007810.0001
states
state_id_array0.00140.123510.0014
state_identifier_array0.00120.103720.0006
Override
Cache load0.00190.1631350.0001
Sytem overhead
Fetch class attribute can translate value0.00150.130230.0005
Fetch class attribute name0.00100.082750.0002
XML
Image XML parsing0.00270.231630.0009
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00320.2728340.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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