workarounds please: open_basedir and memory_limit on a hosting shared server

Author Message

Alexandre Cunha

Wednesday 05 November 2003 12:24:28 pm

Hi,

Im instaling ezP on a shared server and get 2 warnings on the 2nd install screen:
- # open_basedir is in use and can give problems running eZ publish due to bugs in some PHP versions.
- Open the php.ini file and change the memory_limit value to at least 12M

I come to forun searching for solutions, but without success.
I find something about have my own php.ini on the ezP install root dir, but dowest work. Have tried create my .htaccess with
<IfModule mod_php4.c>
php_value memory_limit 20M
php_value open_basedir OFF
</IfModule>

but seens doest work too.

any ideias ?

i accept sugestions for hosting companies.

axel

http://AlexandreCunha.com

Gareth Doust

Wednesday 05 November 2003 12:54:04 pm

Hi Axel...

I've been having the same problems. I found that asking my host to increase the memory limit value didn't present a problem... they did it for me within half an hour. However, they are very relectuant to switch open_basedir off as it is a security setting and don't want to open up their servers to attacks by unscrupulous "customers".

If anybody has a solution, or perhaps a hack or patch, to get around altering the open_basedir value in php.ini then I would be very grateful! I have looked at, installed, tested and fully evaluated many CMS systems for a heavy traffic, high quality performance arts website and have pretty much come to the conclusion that EZ Publish is the ONLY one that fully fits my requirements in the OPen Source marketplace. Unless I can find a solution to these minor bugs then I'm kaput - I really can't afford a couple of grand on a commercial system!

Cheers,

Gareth

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 22:39:14
Script start
Timing: Jan 18 2025 22:39:14
Module start 'layout'
Timing: Jan 18 2025 22:39:14
Module start 'content'
Timing: Jan 18 2025 22:39:15
Module end 'content'
Timing: Jan 18 2025 22:39:15
Script end

Main resources:

Total runtime1.0384 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.4141152.6875
Module start 'layout' 0.00510.0023 741.101639.6172
Module start 'content' 0.00741.0294 780.7188489.5625
Module end 'content' 1.03680.0015 1,270.28138.0313
Script end 1.0384  1,278.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3743160.0002
Check MTime0.00130.1238160.0001
Mysql Total
Database connection0.00050.052210.0005
Mysqli_queries0.993595.6763540.0184
Looping result0.00050.0520520.0000
Template Total1.005296.820.5026
Template load0.00200.194920.0010
Template processing1.003196.603220.5016
Template load and register function0.00020.020410.0002
states
state_id_array0.00100.098810.0010
state_identifier_array0.00150.141020.0007
Override
Cache load0.00160.1572230.0001
Sytem overhead
Fetch class attribute can translate value0.00120.113920.0006
Fetch class attribute name0.00120.118620.0006
XML
Image XML parsing0.00020.021720.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00070.0647100.0001
String conversion0.00000.000640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs