Will the Ez Team work on the CGI install pb ?

Author Message

Francis Nart

Tuesday 17 February 2004 2:12:21 am

Hi,

Well, i Know that ez publish doesn't work with PHP with CGI and we wrote a question about it a few days ago. a Patch was created by a user of the community but it doesn't work properly. It appears that about 50% of the install problems are about that CGI limitation.

Will the EZ team try to find a patch ? Or at least give us a few hints to solve that problem ? It is really a major drawback for ez publish at the moment because lots of hosting providers won't change anything to their hosting plans...

Francis.

Joakim Stai

Tuesday 17 February 2004 6:38:40 am

I add my voice to the petition ;)

James Packham

Monday 23 February 2004 4:34:06 am

Same here, but to be honest I don't think they will because they're too busy concentrating on pushing new features to worry about it.

Joakim Stai

Tuesday 24 February 2004 2:39:31 am

But they definitely should, this is the biggest problem with eZp, affecting the most users. If they don't fix this, only a few lucky will be able to upload their eZp website to their hosting server. It's obvious that most hosting services use PHP as CGI, and eZp has got to take the consequence of that and make eZp work with the most popular environment. If not, they'll lose a lot of users and I'll lose my work assignment. No wonder i think eZ publish is a pain in the ass right now.

Bård Farstad

Tuesday 24 February 2004 2:58:04 am

As you correctly mention eZ publish does not support cgi at the moment. There are a patch available in the forum which may or may not work.

We will make eZ publish run in cgi mode, but I can't give you an excact date on when we will have this supported.

--bård

Documentation: http://ez.no/doc

Francis Nart

Tuesday 24 February 2004 3:13:35 am

I think we alla understand that the ez team has to work on new features but to me, event though it is not a "bug" it is really a major drawback ! And a major drawback for the spread of that framework for, as it was mentioned above, many hosting providers run php as CGI as well as numerous web appliances (ie Ensim).
My second thought is this. We are currently working on that patch but the ez website really lack a REAL community section where people could send email directly to a contributor (even an internal email of the forum) or share code (upload, download, show version numbers, let people add comments...). In fact, there is a community, why don't they use it or drive our developments in the right way ?

They should open for example a "space" for that CGI problem where developers (among which ez developers) could share comments and code ! The community section of the ez website is really not used as it should to my opinion.

Francis.

Francis.

James Packham

Tuesday 24 February 2004 4:57:26 am

They have opened up a "space" haven't they? Isn't that what the contributions section is for? So we can share code... This particular one would probably be classed as a hack, wouldn't it? It's just nobodies put the code up there...

Karsten Jennissen

Tuesday 24 February 2004 5:10:35 am

As James said, check the contributions section, where you can upload patches and add comments. I would also recommend checking out http://pubsvn.ez.no/, under community development. You can get write access to the community svn repository and possibly, others will help out on a particular extension/patch.

Francis Nart

Tuesday 24 February 2004 5:10:36 am

you are right James but the pb is that when you want to work on the code that section is not quite good (to me !). For example, when you upload your contribution, there is (apparently) no possibility to upload new versions when you comment on the code. So new contributors don't contribute ! they just download (or I missed something with the system).
But well, I'll upload our version of the patch this afternoon and I hope that you developers will help us work on it to make it much better !

Francis.

Francis Nart

Tuesday 24 February 2004 5:38:48 am

Hi,

I just added our patch in the contribution section in Hacks.
http://ez.no/community/contributions/hacks/ezpublish_3_3_1_with_php_running_as_cgi_patch

Please try it, improve it, make comments, contribute !!

Thanks.

Francis.

Derick Rethans

Wednesday 25 February 2004 6:03:58 am

I had a look at the patch in contributions and modified it so that it also still runs with the module version of PHP. I tested only the admin section of ezp with it, but it seems to work all nicely. I'm about to commit this patch to SVN and it should make it into 3.4.0alpha1 so you can test it more thoroughly.

Francis Nart

Wednesday 25 February 2004 6:16:09 am

Great news Derick !
But you didn't change the one we uploaded in the contribution section ?

Anyway, I hope others developers will be able to improve it !

Francis.

Joel Hardi

Sunday 21 March 2004 11:08:25 pm

Thanks for the work everybody. Just wanted to let you know that I've been using the patched ezsys.php from SVN for the past ~3 weeks with an otherwise stock 3.3-3 install with no problems. It's on a nonproduction Apache 2 server with CGI PHP.

Lazaro Ferreira

Tuesday 11 May 2004 3:55:09 am

Hi Derick,

I haven't see any information in the changelog regarding PHP CGI support in EZP 3.4x Alpha

is the patch already there ?

Any plan on this ?

Thanks for your time
Lazaro

Lazaro
http://www.mzbusiness.com

Peter Quennell

Monday 24 May 2004 5:42:42 pm

Francis etc:

We have V3.4 beta2 running on a host with PHP in CGI mode... Easy to istall and solid. Patch obviously in there.

But its so sloooooow. And no possibility of acceleration of PHP in CGI that we can figure out.

What next? Anyone with any pointers?.

Peter Quennell
New York

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 19:25:20
Script start
Timing: Jan 18 2025 19:25:20
Module start 'layout'
Timing: Jan 18 2025 19:25:20
Module start 'content'
Timing: Jan 18 2025 19:25:20
Module end 'content'
Timing: Jan 18 2025 19:25:20
Script end

Main resources:

Total runtime0.7044 sec
Peak memory usage4,096.0000 KB
Database Queries107

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0110 588.1641152.6563
Module start 'layout' 0.01100.0036 740.820339.5078
Module start 'content' 0.01460.6886 780.3281920.0078
Module end 'content' 0.70310.0012 1,700.335924.1094
Script end 0.7043  1,724.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4914160.0002
Check MTime0.00150.2199160.0001
Mysql Total
Database connection0.00160.227910.0016
Mysqli_queries0.612586.95591070.0057
Looping result0.00160.22031050.0000
Template Total0.657093.320.3285
Template load0.00300.420520.0015
Template processing0.654092.852920.3270
Template load and register function0.00020.023710.0002
states
state_id_array0.00160.232810.0016
state_identifier_array0.00130.180720.0006
Override
Cache load0.00270.3794650.0000
Sytem overhead
Fetch class attribute can translate value0.00090.121590.0001
Fetch class attribute name0.00110.1544180.0001
XML
Image XML parsing0.00270.377590.0003
class_abstraction
Instantiating content class attribute0.00000.0037190.0000
General
dbfile0.00130.1818290.0000
String conversion0.00000.001340.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
15content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
18content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 45
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs