The php.ini file not update

Hello

I need to change the memory_limit value in the php.ini file

I opened the php.ini file and edited it and restart Apache but did not show the value in phpinfo

Apache still works at the default value of 128M

What is the problem and how is it solved?

1 Reply

There can be multiple php.ini files in the document root for your site. Are you changing the default php.ini file, or one set up in the document root? I'd recommend changing the memory_limit in every php.ini file for the site to make sure one's not limiting the others.

Are you using any CMS or control panel software? If you're using a particular CMS, such as WordPress or Drupal, there could be other locations where this limit is set as well.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct