Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Change memory_limit PHP on Debian

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
RubenV
Posts: 6
Joined: Wed Aug 27, 2014 11:15 am

Change memory_limit PHP on Debian
  • Quote

Post by RubenV » Wed Aug 27, 2014 11:18 am

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!
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Change memory_limit PHP on Debian
  • Quote

Post by imperio » Wed Aug 27, 2014 11:30 am

Hello,
/etc/php5/apache2/php.ini
Find this

Code: Select all

memory_limit =
After that

Code: Select all

/etc/init.d/apache2 restart
Top

RubenV
Posts: 6
Joined: Wed Aug 27, 2014 11:15 am

Re: Change memory_limit PHP on Debian
  • Quote

Post by RubenV » Wed Aug 27, 2014 8:04 pm

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
Top

RubenV
Posts: 6
Joined: Wed Aug 27, 2014 11:15 am

Re: Change memory_limit PHP on Debian
  • Quote

Post by RubenV » Thu Aug 28, 2014 6:17 am

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.
Top

RubenV
Posts: 6
Joined: Wed Aug 27, 2014 11:15 am

Re: Change memory_limit PHP on Debian
  • Quote

Post by RubenV » Thu Aug 28, 2014 7:16 am

Issue solved!!
It was in my /home/WEB_USER/conf/web/apache2.conf file!
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password