eztc via admin interface?

Author Message

Geraint Edwards

Tuesday 10 May 2005 2:30:51 pm

My hosting company doesn't make the cli version of php available in the ssh shell. I need to use eztc to override the index-file in order to eliminate the ? from http://<i>sitename</i>/index.php?/mysiteaccess

Is there a way to run eztc using the cgi version of php from a shell or via the admin interface of my site.

Alternatively is there an ini setting I can use to override the index-file in the online version of compilation?

I hope that makes some sense.

Bruce Morrison

Tuesday 10 May 2005 4:31:12 pm

Hi Geraint

This thread may give you some ideas
http://ez.no/community/forum/suggestions/workaround_for_installations_without_phpcli

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

kracker (the)

Tuesday 10 May 2005 5:37:39 pm

I'm not certain if you really are driven to create a way to use eztc via the admin or If you are just looking to find a quick way to run eztc and move on...

I just finished writing another master thread on the subject of php (cli).

Basically it boils down to this, if your trying to use php (cli) on an (average) linux server you can just download the apropriate version (for your server).

<i>http://download.ezpublishhosting.com/php-cli/linux/
http://download.ezpublishhosting.com/php-cli/windows/</i>

To install, you only need to unpack the file into your eZ publish directory (ie: <i>bin/linux/php-cli</i> ) and read these instructions on how to use it and you can run eztc on your hosting provider that does not provide php (cli), <b>you don't need root privileges to do this, any user can do this</b>.

<i>http://ez.no/community/forum/general/running_ez_publish_scripts_via_the_command_line</i>

The above link cross links to most related forum threads & documentation, save the one that Bruce pointed out.

cheers,
//kracker

Aqua Teen Hunger Force : Robositter

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

Geraint Edwards

Wednesday 11 May 2005 3:34:22 am

Thanks for the suggestions.

Downloading the binaries didn't work since they're linked to glibc 2.3 whereas my host is still using 2.9.5. I tried building a static version on my machine but failed - I followed the instructions but the output always ended up using shared libraries :(.

Bruce's suggestion seems more involved - I'll look into it.

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 19 2025 09:39:49
Script start
Timing: Jan 19 2025 09:39:49
Module start 'layout'
Timing: Jan 19 2025 09:39:49
Module start 'content'
Timing: Jan 19 2025 09:39:50
Module end 'content'
Timing: Jan 19 2025 09:39:50
Script end

Main resources:

Total runtime0.7326 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0133 589.1484152.6250
Module start 'layout' 0.01330.0039 741.773439.4297
Module start 'content' 0.01710.7139 781.2031593.9375
Module end 'content' 0.73100.0015 1,375.140612.1797
Script end 0.7325  1,387.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5119160.0002
Check MTime0.00130.1800160.0001
Mysql Total
Database connection0.00160.220710.0016
Mysqli_queries0.668191.1916620.0108
Looping result0.00070.0974600.0000
Template Total0.681993.120.3409
Template load0.00280.376520.0014
Template processing0.679192.701420.3396
Template load and register function0.00020.028510.0002
states
state_id_array0.00120.159810.0012
state_identifier_array0.00120.162920.0006
Override
Cache load0.00240.3305310.0001
Sytem overhead
Fetch class attribute can translate value0.00060.076330.0002
Fetch class attribute name0.00160.224060.0003
XML
Image XML parsing0.00110.154530.0004
class_abstraction
Instantiating content class attribute0.00000.002360.0000
General
dbfile0.00100.1428240.0000
String conversion0.00000.001540.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs