Forums / Install & configuration / CLI interface

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

eZ debug

Timing: Jan 31 2025 05:58:52
Script start
Timing: Jan 31 2025 05:58:52
Module start 'content'
Timing: Jan 31 2025 05:58:52
Module end 'content'
Timing: Jan 31 2025 05:58:52
Script end

Main resources:

Total runtime0.1636 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.9219180.8438
Module start 'content' 0.00680.0080 768.7656101.8672
Module end 'content' 0.01480.1486 870.6328529.8516
Script end 0.1634  1,400.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00382.3193200.0002
Check MTime0.00140.8697200.0001
Mysql Total
Database connection0.00080.488410.0008
Mysqli_queries0.108966.54921410.0008
Looping result0.00130.78081390.0000
Template Total0.148090.510.1480
Template load0.00090.580310.0009
Template processing0.147089.885510.1470
Override
Cache load0.00060.387610.0006
Sytem overhead
Fetch class attribute can translate value0.00070.432710.0007
XML
Image XML parsing0.00030.162710.0003
General
dbfile0.01237.5000200.0006
String conversion0.00000.003630.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs