ezp on w2k: how to set the 'cli' interface?

Author Message

Alessandro Cipriani

Tuesday 15 June 2004 1:43:19 am

hi all
i'm upgrading my old 3.3-5 version to 3.4-0 but i'm not able to run the update scripts.
The error message is 'PHP is currentrly using the cgi-fcgi interface. Make sure it is using the cli interface'

Where to set this parameter? should i download something?
i looked at php.net but i didn't saw anything about the cli interface

best regards
alessandro

Derick Rethans

Tuesday 15 June 2004 2:16:31 am

Hello Alessandro,

this is not a setting you can make. The fact is that we put a different binary in our distribution than what we should have done. The easiest way to obtain the correct "php.exe" is to download PHP 4.3.6 from http://no2.php.net/get/php-4.3.6-Win32.zip/from/a/mirror
and replace the php.exe file in the install directory of eZ publish with the php.exe from php-4.3.7-Win32/cli/php.exe in the zip file you just downloaded (and <b>not</b> the> php-4.3.7-Win32/php.exe one!).

Derick

Alessandro Cipriani

Tuesday 15 June 2004 2:25:46 am

ok derik
thank you
i'm downloading it now

best regards
alessandro

Mohammad Aboali

Wednesday 18 August 2004 8:46:36 am

read
this to enable the phpcli under linux

http://ez.no/community/forum/suggestions/workaround_for_installations_without_phpcli

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 06:27:43
Script start
Timing: Jan 31 2025 06:27:43
Module start 'layout'
Timing: Jan 31 2025 06:27:43
Module start 'content'
Timing: Jan 31 2025 06:27:43
Module end 'content'
Timing: Jan 31 2025 06:27:43
Script end

Main resources:

Total runtime0.8130 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.0048 588.2734151.2266
Module start 'layout' 0.00480.0024 739.500036.6797
Module start 'content' 0.00720.8051 776.1797982.8672
Module end 'content' 0.81230.0007 1,759.046911.8125
Script end 0.8130  1,770.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.3468160.0002
Check MTime0.00120.1445160.0001
Mysql Total
Database connection0.00080.098510.0008
Mysqli_queries0.763493.9019620.0123
Looping result0.00050.0568600.0000
Template Total0.786996.820.3935
Template load0.00200.241920.0010
Template processing0.785096.550020.3925
Template load and register function0.00100.122610.0010
states
state_id_array0.00110.136510.0011
state_identifier_array0.00090.111320.0005
Override
Cache load0.00160.2022280.0001
Sytem overhead
Fetch class attribute can translate value0.00040.045930.0001
Fetch class attribute name0.00180.226360.0003
XML
Image XML parsing0.00200.245530.0007
class_abstraction
Instantiating content class attribute0.00000.001270.0000
General
dbfile0.00190.2367220.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs