CLI interface

Author Message

Bjarte Lunde

Tuesday 20 July 2004 6:32:42 am

When i try to run the runcronjobs.php from command line i get "PHP is currently using the 'cgi' interface. Make sure it is using the 'cli' interface."

I have installed eZ using the RedHat9 installer.

Can anyone help me solving this problem?

Mahesh Arvind

Tuesday 20 July 2004 6:40:40 am

Hi,

You have to configure PHP with CLI option on your server. Ez will not configure PHP when you install using installers. You could contact your system administrator regarding this.

Thanks
Mahesh

Thanks & Regards
Mahesh

Bjarte Lunde

Tuesday 20 July 2004 6:54:48 am

i am my own system admin...
how do i configure php?

Mahesh Arvind

Tuesday 20 July 2004 7:25:30 am

I am not a system admin. So, I do not have further details on this.
http://php3.de/manual/en/features.commandline.php
This was the link I gave to my sys admin when he had asked details regarding CLI.
Hope you find this userful.

Mahesh

Thanks & Regards
Mahesh

Björn Dieding@xrow.de

Tuesday 20 July 2004 2:46:58 pm

if the redhat installer is not able to setup php as cli you might wanna file a bug report

http://ez.no/community/bug_reports

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bruce Morrison

Tuesday 20 July 2004 4:09:42 pm

There is a work around
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

Björn Dieding@xrow.de

Tuesday 20 July 2004 5:07:42 pm

If you use this workaround some parts of eZ will simply not work!

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bruce Morrison

Wednesday 21 July 2004 1:02:15 am

Hi Björn

Which ones? I've been using it for a number of sites for a couple of weeks now. It only effects the update & cron scripts not the day to day running of the ez Publish application (admin and user sites).

Lets continue this here 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

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 18 2025 22:14:33
Script start
Timing: Jan 18 2025 22:14:33
Module start 'layout'
Timing: Jan 18 2025 22:14:33
Module start 'content'
Timing: Jan 18 2025 22:14:33
Module end 'content'
Timing: Jan 18 2025 22:14:33
Script end

Main resources:

Total runtime0.6559 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.3359152.6250
Module start 'layout' 0.00700.0026 741.960939.4453
Module start 'content' 0.00960.6446 781.4063672.2031
Module end 'content' 0.65420.0016 1,453.609420.8047
Script end 0.6558  1,474.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5068160.0002
Check MTime0.00140.2104160.0001
Mysql Total
Database connection0.00100.158910.0010
Mysqli_queries0.583088.8958760.0077
Looping result0.00080.1280740.0000
Template Total0.626395.520.3132
Template load0.00200.300820.0010
Template processing0.624395.192320.3122
Template load and register function0.00020.024510.0002
states
state_id_array0.00070.108410.0007
state_identifier_array0.00130.203420.0007
Override
Cache load0.00170.2582420.0000
Sytem overhead
Fetch class attribute can translate value0.00210.315340.0005
Fetch class attribute name0.00130.2013110.0001
XML
Image XML parsing0.00300.463540.0008
class_abstraction
Instantiating content class attribute0.00000.0045140.0000
General
dbfile0.00290.4363280.0001
String conversion0.00000.001940.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/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: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs