The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php.ini reverts after changes

Discussion in 'General Discussion' started by Horizon, Mar 5, 2006.

  1. Horizon

    Horizon Registered

    Mar 5, 2006
    Likes Received:
    Trophy Points:
    I am trying to edit php.ini using ssh so I can change my file upload size from the default 2MB to more than that. I'm editing the proper php.ini file (i think) /usr/local/lib/php.ini . I'm on windows, using Putty to ssh into the server. What i'm doing is copying the php.ini file into a public_html directory, then editing it with Cpanel, and moving it back. Then I use WHM to restart httpd. Once I do that... the php.ini file reverts to defaults! How can I fix this?

Share This Page