Change memory_limit PHP on Debian
Change memory_limit PHP on Debian
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!
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
Hello,
/etc/php5/apache2/php.ini
Find this
After that
/etc/php5/apache2/php.ini
Find this
Code: Select all
memory_limit =
Code: Select all
/etc/init.d/apache2 restart
Re: Change memory_limit PHP on Debian
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
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
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.
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
Issue solved!!
It was in my /home/WEB_USER/conf/web/apache2.conf file!
It was in my /home/WEB_USER/conf/web/apache2.conf file!