PHP 4.1 or PHP 4.2.3 required -- conflicting documentation -- help?

Author Message

Matthew Knapp

Friday 16 May 2003 10:50:25 am

In the "Key Features in eZ publish 3.0" page (http://ez.no/sdk/changes/view/features) it states

"Installation improvements
eZ publish 3.0 runs with standard Apache 1.3 or 2.0, PHP 4.1 or newer, and MySQL or PostgreSQL. No need to compile patches. In addition to this, it has an installation helper that lets you do a large part of the installation in your browser. "

Most other docs refer to 4.2.3 though. I am curious:
-Which does it require?
-If it DOES require 4.2.3, why? Is there a work-around?

I ask because my hosting service runs 4.1.2 and is very reluctant to upgrade... yet I still want to try to run ezPublish 3.X.

Thanks!

Jo Henrik Endrerud

Saturday 17 May 2003 7:40:37 am

AFAIK eZ publish 3 does not use any PHP functionallity added after PHP 4.1. Technicaly it should therefore work with PHP 4.1. However, we have experienced troubles in some PHP 4.1 versions because of bugs in PHP regarding the sessions. This is the reason why we have changed our documentation to say that eZ publish need PHP 4.2.3. Unfortunatly we haven't changed every place this is written :(

I'm not quite sure at the moment which PHP versions in the 4.1 and 4.2 series that are affected. eZ publish might work with earlier versions of PHP (versions prior to 4.1.0 will not work) but this might vary on which PHP version, server architecture and so on.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Tony Wood

Saturday 17 May 2003 10:00:26 am

Matthew,

We have run on 4.1.2 without any obvious and noticable problems. The problems i believe are related to sessions not being handled correctly. However, the stress testing we have carried out has shown 4.3.1 outperforms 4.1.2 and so i would go for that if possible. We are still running these test on our new upgraded production environment so will know more soon.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Jeroen van Gorkum

Sunday 18 May 2003 4:49:34 pm

see also: 'Log in problem (PHP related)' (http://ez.no/content/view/full/21884/)

jeroen.

Matthew Knapp

Thursday 22 May 2003 8:17:17 pm

Thanks for the insight. I will give ezPublish 3.0 a try on the 4.1.2 system. Hopefully I won't have too many problems. :)

Noticed the 4.1.2 issues revolve around sessions... Does this mean the admin sections will be unaccessible due to being unable to initialize a session or is this just issues with the login capability of the published site.

Anyhow, will be trying it out and will let you know the results.

Again, thanks for the help.

Matthew

Jeroen van Gorkum

Monday 26 May 2003 8:39:21 am

> Does this mean the admin sections will be unaccessible
> due to being unable to initialize a session or is this just
> issues with the login capability of the published site.

no, not 'unaccessible' but a site can be 'hard to access'. like i wrote in the other post, moz/win seems to find a way past the error, while ie/win & lyx/win display a browser error.

if i keep refreshing the site (request the url again) in the last two, i'll get past the error eventually. once i'm 'in', there doesn't seem to be a problem anymore.

this applies to both a visitor site and an admin site, but it doesn't happen always, and i haven't found a way yet to force the error.

you can tell that it happened by one or more lines like this in the <em>main</em> apache error.log:

[Mon May 26 17:08:28 2003] [notice] child pid 23487 exit signal Segmentation fault (11)

jeroen.

Ace Suares

Wednesday 09 July 2003 9:14:32 pm

The solution to the segmetation fault in 3.0.2, might be upgrading to php 4.2.3

If you run woody stable, check http://www.apt-get.org
It will lead you to debian packages for php 4.2.3 for debian woody (unoffical packages, but it worked for me).

_Ace

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 00:29:22
Script start
Timing: Jan 31 2025 00:29:22
Module start 'layout'
Timing: Jan 31 2025 00:29:22
Module start 'content'
Timing: Jan 31 2025 00:29:22
Module end 'content'
Timing: Jan 31 2025 00:29:22
Script end

Main resources:

Total runtime0.0310 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.6172151.2734
Module start 'layout' 0.00550.0044 739.8906220.7656
Module start 'content' 0.00990.0196 960.65631,005.8984
Module end 'content' 0.02950.0015 1,966.554737.9922
Script end 0.0310  2,004.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00258.0301140.0002
Check MTime0.00103.2085140.0001
Mysql Total
Database connection0.00082.702610.0008
Mysqli_queries0.00278.812830.0009
Looping result0.00000.071510.0000
Template Total0.00103.310.0010
Template load0.00082.502710.0008
Template processing0.00020.748110.0002
Override
Cache load0.00051.557710.0005
General
dbfile0.00103.170880.0001
String conversion0.00000.028440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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