Memory exhausted even when i changed value and restarted apache?

Discussion in 'PHP' started by postcd, May 3, 2014.

  1. #1
    Hello, im getting memory exhaustred error

    even i modiffied this line in /etc/php.ini
    memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)

    Please how to make changes apply?
     
    postcd, May 3, 2014 IP
  2. Sugavanas

    Sugavanas Well-Known Member

    Messages:
    688
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Try rebooting the server once. It should have luck or atleast i had luck when i changed it
     
    Sugavanas, May 3, 2014 IP
  3. postcd

    postcd Well-Known Member

    Messages:
    1,043
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    190
    #3
    SOLVED: /etc/php.ini was not taken into account, because i override this memory_limit variable in my sites .htaccess file
     
    postcd, May 3, 2014 IP
  4. salmanshafiq

    salmanshafiq Well-Known Member

    Messages:
    260
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #4
    I had used memory_limit = 128M with ini_set function but some plugins create problem with some hosts... as revolution slider always problem with the network hosting :(
     
    salmanshafiq, May 3, 2014 IP