[URGENT] How to use .htaccess to override memory-limit???

Author Message

humaneasy future internet technologies

Wednesday 10 March 2004 12:11:39 pm

Hi,

I cannot install it. The process goes correctly 'til the end but then it goes back to setup beginning.
I'm virtaul hosted. ISP won't change globaly php memory-limit = 8 MB.

Is there a way to circunvent it?

Best,

Lopo

Alex Jones

Wednesday 10 March 2004 1:19:59 pm

Try adding this to your .htaccess file.

php_value memory_limit "16M"

If nothing else, a quick search via Google provides a lot of returns: http://www.google.com/search?num=30&hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&q=change+php+memory+limit+.htaccess&btnG=Google+Search

One note, you may want to check the agreement you have with yourprovider to ensure you aren't about to violate their usage guidelines by taking more memory than you are alotted.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 19 2025 00:09:07
Script start
Timing: Jan 19 2025 00:09:07
Module start 'layout'
Timing: Jan 19 2025 00:09:07
Module start 'content'
Timing: Jan 19 2025 00:09:08
Module end 'content'
Timing: Jan 19 2025 00:09:08
Script end

Main resources:

Total runtime0.9301 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.0063 588.1641152.6563
Module start 'layout' 0.00630.0032 740.820339.5078
Module start 'content' 0.00950.9191 780.3281520.8828
Module end 'content' 0.92860.0014 1,301.21098.0938
Script end 0.9300  1,309.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3353160.0002
Check MTime0.00120.1329160.0001
Mysql Total
Database connection0.00130.142810.0013
Mysqli_queries0.879594.5570540.0163
Looping result0.00060.0623520.0000
Template Total0.896296.420.4481
Template load0.00210.228320.0011
Template processing0.894196.130020.4471
Template load and register function0.00020.026110.0002
states
state_id_array0.00120.133810.0012
state_identifier_array0.00110.119920.0006
Override
Cache load0.00170.1836160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.077420.0004
Fetch class attribute name0.00250.269230.0008
XML
Image XML parsing0.00160.167120.0008
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00090.0936160.0001
String conversion0.00000.001040.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
1content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs