Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    815

    Default php.ini memory_limit keeps resetting itself.

    regarding:

    /usr/local/cpanel/3rdparty/etc/php.ini

    The memory_limit parameter keeps resetting itself back to 128m, I assume when cPanel is upgraded.

    We need to keep this higher for a web builder app we have installed on the server, so is there any way to make our changes stick?

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Question

    You do know that PHP.INI only effects plugins in WHM and related and has no bearing on the software and scripts on any of your web hosting accounts, right?

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    815

    Default

    Yes. It's a WHM plugin that we are concerned with.

  4. #4
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jols View Post
    regarding:

    /usr/local/cpanel/3rdparty/etc/php.ini

    The memory_limit parameter keeps resetting itself back to 128m, I assume when cPanel is upgraded.

    We need to keep this higher for a web builder app we have installed on the server, so is there any way to make our changes stick?
    Did you execute /usr/local/cpanel/bin/install_php_inis after editing the ini file?
    Kenneth
    Product Development
    cPanel, Inc.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2006
    Posts
    640

    Default

    Quote Originally Posted by cpanelkenneth View Post
    Did you execute /usr/local/cpanel/bin/install_php_inis after editing the ini file?
    Makes no difference. I just tried that and went back to the php.ini after restarting cpanel. Its back at 128M again. This must be enforced by a setting in the cpanel config somewhere.

    I notice that there is an option to change the cpanel php max execution time in "tweak settings" - but not a setting for memory limit. However, this is most definately being enforced from somewhere. All I have to do is restart cpanel and it reverts back again without fail.

  6. #6
    Member
    Join Date
    Dec 2002
    Posts
    15

    Default same problem here

    same problem, i'm using centos 5.4 with cpanel release, installed 2 days ago. First there was IO:Socket:SSL missing, solved, and now this.

    Please help us as we migrated server this weekends and lots of our users use this app. We have contacted technical support of web builder (Rvsitebuilder) to see if they can provide a workaround to install anyway, but it's a cpanel bug.

    Thanks in advance for your help.

    Regards,

  7. #7
    Member
    Join Date
    May 2009
    Posts
    5

    Default

    Any update on this? I have the same problem. I had the same problem with the max_execution_time. Solved this by editing the value from WHM tweak settings. Is there any option in WHM to change memorylimit value as well? Please help!!

  8. #8
    ppw
    ppw is offline
    Registered User
    Join Date
    Jul 2008
    Posts
    2

    Default

    I have the same problem in a cPanel 11.24.5-R38506 - WHM 11.24.2 - X 3.9
    CENTOS 5.4 x86_64 virtuozzo.

    Around this, are the files
    /usr/local/cpanel/3rdparty/etc/php.ini.dist
    /usr/local/cpanel/3rdparty/etc/php.ini.keep
    related?

    Regards

  9. #9
    Member
    Join Date
    Jun 2003
    Location
    Lubbock, TX
    Posts
    7

    Default

    Quote Originally Posted by 4u123 View Post
    Makes no difference. I just tried that and went back to the php.ini after restarting cpanel. Its back at 128M again. This must be enforced by a setting in the cpanel config somewhere.

    I notice that there is an option to change the cpanel php max execution time in "tweak settings" - but not a setting for memory limit. However, this is most definately being enforced from somewhere. All I have to do is restart cpanel and it reverts back again without fail.
    I'm having this exact same situation happening as well. I changed the php.ini, saved it, then reopened it to verify the change, yes it's there. Restart cpanel and check it again, it's back to 128M
    David
    DrylineHosting.com

  10. #10
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    779

    Default

    Same issue here. We require an increase of memory for webmail usage. I have also tried chattr'ing the file and it is still getting reset to 128mbs. How is this corrected?

    Running latest stable build.

    *Updating "php.ini.dist" with the increase resolves this.
    ULTRA Website Hosting - 8 Years Hosting
    Shared | Reseller | Dedicated | Colocation

Similar Threads & Tags
Similar threads

  1. Individual php.ini files for PHP FCGI and PHP CGI
    By Miraenda in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-22-2011, 09:55 AM
  2. ini_set or htaccess memory_limit kills php processing
    By mrlugal in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-22-2010, 06:40 PM
  3. Disable memory_limit override in user php.ini
    By smurf in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-24-2009, 12:05 PM
  4. php.ini and override default php.ini
    By areh in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 08-24-2009, 06:45 PM
  5. Resetting cPanel or Resetting WHM
    By mind-field in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-25-2004, 03:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube