Reply to Re: server-side: how to increase PHP's memory window ..?

Your name:

Reply:


Posted by Thomas on 03/16/07 07:46

> Now that you're in vi, hit escape a few times then type the following
> and hit enter: /memory_limit
> That basically does a "find" in the file you're editing.
> Change the current setting (probably 8M) to 16M.
> Press escape, then type :wq and hit enter. That says "save the file
> and quit."
> Restart apache. You'll need to find "apachectl." To find it, type
> the following and hit enter: locate apachectl
> That should tell you where it's at. Suppose it's in /usr/local/
> apache2/bin/apachectl. To restart it, use these two commands (hitting
> enter after each one):
> /usr/local/apache2/bin/apachectl stop
> /usr/local/apache2/bin/apachectl start
> And that's all there is to it :) Hopefully it works.

thanks for the info Zeldo ... I tried all the above,
but got stuck on the "find" for memory_limit

I got "Pattern not found: memory_limit"

not sure what to try next. I did a "phpinfo" on this server, and it's this,
if this is any help:

Linux stripples.devel.redhat.com 2.4.21-1.1931.2.274.entsmp #1 SMP Tue Jun
24 11:18:10 EDT 2003 i686 i686 i386 GNU/Linux

Build Date Jun 29 2003 16:34:10

under "configuration" the memory limit is listed as 8 Mb
I'm using a Plesk 6 interface for domain mgmt on the server.

thanks
thomas

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация