Monday 19 July 2004 5:37:21 am - 2 replies
Frederik Holljen
Tuesday 20 July 2004 2:24:14 am
Try this:
#!/bin/bash # prepend header to 'php' filesecho "ini_set ( memory_limit, "24M" );" > tmp
for FILE in `find -name "*php"`; do ( cat tmp $FILE ) | cat > $FILE.newmv $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!