Share » Forums » Suggestions » Extend memory on install/shared host

Extend memory on install/shared host

Extend memory on install/shared host

Monday 19 July 2004 5:37:21 am - 2 replies

Author Message

Frederik Holljen

Tuesday 20 July 2004 2:24:14 am

Try this:

#!/bin/bash
# prepend header to 'php' files
echo "ini_set ( memory_limit, "24M" );" > tmp

for FILE in `find -name "*php"`; do
( cat tmp $FILE ) | cat > $FILE.new
mv $FILE.new $FILE

done

Björn Dieding@xrow.de

Tuesday 20 July 2004 5:20:36 pm

<1. talk my host into extending the memory limit globally; won't happen

you can set the memory limit per vhost in apache. Ask your host about this. That is the easiest way.

 

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu