Forums / Install & configuration / PHP 4.1 or PHP 4.2.3 required -- conflicting documentation -- help?

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

eZ debug

Timing: Jan 18 2025 11:12:06
Script start
Timing: Jan 18 2025 11:12:06
Module start 'content'
Timing: Jan 18 2025 11:12:07
Module end 'content'
Timing: Jan 18 2025 11:12:07
Script end

Main resources:

Total runtime1.1664 sec
Peak memory usage4,096.0000 KB
Database Queries212

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 588.0859180.7891
Module start 'content' 0.00930.9975 768.8750692.6875
Module end 'content' 1.00680.1595 1,461.5625340.4063
Script end 1.1663  1,801.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.3889210.0002
Check MTime0.00150.1272210.0001
Mysql Total
Database connection0.00110.098010.0011
Mysqli_queries1.076892.31602120.0051
Looping result0.00280.23932100.0000
Template Total1.122696.220.5613
Template load0.00240.206620.0012
Template processing1.120296.035120.5601
Template load and register function0.00020.015410.0002
states
state_id_array0.00160.136310.0016
state_identifier_array0.00230.197520.0012
Override
Cache load0.00210.1808430.0000
Sytem overhead
Fetch class attribute can translate value0.00260.226060.0004
Fetch class attribute name0.00240.202380.0003
XML
Image XML parsing0.00130.109060.0002
class_abstraction
Instantiating content class attribute0.00000.001580.0000
General
dbfile0.00270.2305270.0001
String conversion0.00000.000530.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs