Skip to main content

PHP INI setting changed after UPCP

Comments

4 comments

  • JacobPerkins
    Hi, This shouldn't have happened, unless when the change was made, it wasn't made to local.ini, but instead to php.ini. Can you confirm where this change was made?
    0
  • techteamus
    Hello Jacob /opt/cpanel/ea-php56/root/etc/php.d/local.ini /opt/cpanel/ea-php70/root/etc/php.d/local.ini Both those contain register_argc_argv = On which I assume is the correct I made through WHM to get things working. /opt/cpanel/ea-php56/root/etc/php.ini /opt/cpanel/ea-php70/root/etc/php.ini Both those contain register_argc_argv = Off. Daniel
    0
  • JacobPerkins
    Hi, That looks correct, local.ini should contain your changes, and the php.ini is what the RPM puts down, and should contain the 'defaults', so to speak. Were the original changes put into local.ini as well? I haven't heard of php.ini being overwritten at all, but I can't think of a reason why this would happen, and I wasn't able to replicate it either. It might be good to throw in a ticket so we can take a deeper look at this, if you still have a server that was affected.
    0
  • ethix
    Looks like I had the memory setting in php.ini reset to 32M. I am yet to check other servers but this one server somehow had the memory setting reset.
    0

Please sign in to leave a comment.