Forums / Install & configuration / This STABLE release causes a Stack Overflow on Apache2/WinNT4

This STABLE release causes a Stack Overflow on Apache2/WinNT4

Author Message

dave jones

Tuesday 01 July 2003 2:32:48 am

Hello. I am running Apache2 on Windows NT 4 Server SP6a w/800Mhz Celeron 256Mb RAM. PHP 4.3.2 works wonderfully under this setup.

I have successfully run b2, php-nuke, postnuke, phpWebSite, drupal, envolution, XOOPS2, mambo, phpBB, XMB, phpOpenChat, phpMyAdmin, myPHPBlog, and several other CMS/blogging systems on this setup. I am currently running a postnuke based system very successfully and have had over 15,000 hits with no problems.

I have done a clean install (twice) of the eZ3.1 system but straight after the install completes any access to index.php causes a Stack Overflow error in Apache.

I'm not sure what to do, since I've read the forums on here and you are undoubtedly going to blame my system, Apache2, my PHP set, my competence, my ability to read and freak sun spot activity before any one will admit that this is a problem with eZ - but I have run just about every other open source CMS on the same box and they all work like a dream.

So, any ideas?

Bård Farstad

Tuesday 01 July 2003 2:36:12 am

Up your PHP memory limit. eZ publish uses more than 8 MB on before it creates cache files. Try setting the memory limit to 20MB and see if it helps.

If you're running Apache2 in CGI mode you will have problems, since eZ publish does not officially support CGI. You can find a patch for this in the forums.

--bård

Documentation: http://ez.no/doc

dave jones

Tuesday 01 July 2003 3:01:36 am

OH yeah I forgot to say that I read the installation documentation, so I upped the memory limit to 20MB and enabled PATHINFO on the eZ directory.

Not using PHP as CGI (ugh)!

Thanks anyway.

mariuz popa

Wednesday 02 July 2003 1:26:22 am

had the same issues
I have changed the log level of apache from warn to
debug and it seems that the index.php is crashing it
( child process exited with status 3221225725) and changed the MaxRequestsPerChild to 250 but the
Requests per child still exists (infinite loop) but server don't crash now only it doesn't do anything (empty page)
So i reverted to apache 1.3.27 + php 4.3.2 where it works .

dave jones

Saturday 05 July 2003 6:45:10 am

thanks for the info. so is this potentially a problem with php4 or apache2. i can't change server to apache1.3 cos it's deprecated and i have to go with the latest technology. none of my production servers are running apache1.x code anymore, so i'll just have to wait until ez produces some STABLE code for the current realease of web servers.

Bård Farstad

Saturday 05 July 2003 9:00:02 am

Dave, this is not an eZ publish issue. It's because PHP is not stable under Apache 2. There is nothing we can do in eZ publish about this. The reason for this is because PHP and it's extensions are not thread safe and since Apache 2 uses multithreading they do not play very well together.

So until PHP is stable under Apache 2 I would not recommend running PHP applications under it in a production environment.

--bård

Documentation: http://ez.no/doc

eZ debug

Timing: Jan 31 2025 04:10:58
Script start
Timing: Jan 31 2025 04:10:58
Module start 'content'
Timing: Jan 31 2025 04:10:58
Module end 'content'
Timing: Jan 31 2025 04:10:58
Script end

Main resources:

Total runtime0.2021 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.0066 589.4375180.7891
Module start 'content' 0.00660.0053 770.226698.0234
Module end 'content' 0.01200.1900 868.2500526.9531
Script end 0.2020  1,395.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00321.5599200.0002
Check MTime0.00130.6343200.0001
Mysql Total
Database connection0.00140.683010.0014
Mysqli_queries0.159979.11851410.0011
Looping result0.00100.48521390.0000
Template Total0.189793.910.1897
Template load0.00080.371710.0008
Template processing0.189093.523310.1890
Override
Cache load0.00050.265310.0005
Sytem overhead
Fetch class attribute can translate value0.00060.309910.0006
XML
Image XML parsing0.00020.112310.0002
General
dbfile0.00803.9700200.0004
String conversion0.00000.002530.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