Page 1 of 1

Change memory_limit PHP on Debian

Posted: Wed Aug 27, 2014 11:18 am
by RubenV
Hello

I used VestaCP for a while now, but I can't figure out how to increase the memory_limit from 32M to 64M or 128M.

I saw in the documents where php.ini is situated and I tried to change this, but no results.
http://vestacp.com/docs/
I also tried to change the template like in this topic ( viewtopic.php?f=41&t=3980) but also withouth a result.

Afther the changes I make, I restart apache2 from in the VestaCP.
Anyone advice?

Thanks!

Re: Change memory_limit PHP on Debian

Posted: Wed Aug 27, 2014 11:30 am
by imperio
Hello,
/etc/php5/apache2/php.ini
Find this

Code: Select all

memory_limit =
After that

Code: Select all

/etc/init.d/apache2 restart

Re: Change memory_limit PHP on Debian

Posted: Wed Aug 27, 2014 8:04 pm
by RubenV
I already tried this.

When I grep "memory_limit" php.ini
memory_limit = 64M

I restart apache2, but my server still says it's 32M (phpinfo) from a Wordpress website that I host within VestaCP

Re: Change memory_limit PHP on Debian

Posted: Thu Aug 28, 2014 6:17 am
by RubenV
This is my phpinfo()

http://triatlon-a-la-carte.be/info.php

I already updated the template files and searched for all php.ini files, but nothing changes... Even if I restart apache2.

Re: Change memory_limit PHP on Debian

Posted: Thu Aug 28, 2014 7:16 am
by RubenV
Issue solved!!
It was in my /home/WEB_USER/conf/web/apache2.conf file!