1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where to edit php.ini file ?

Discussion in 'Black Hat SEO' started by Adapter, Jan 7, 2012.

  1. Adapter

    Adapter Newbie

    Joined:
    Jan 3, 2012
    Messages:
    12
    Likes Received:
    1
    Hello,

    I have dedicated server, where to edit php.ini file ?

    Thanks
     
  2. purewealthinc

    purewealthinc Regular Member

    Joined:
    May 3, 2010
    Messages:
    427
    Likes Received:
    383
    Occupation:
    Web Fishing
    Location:
    World Wide Web City
    It shoud be in your Power Panel mate..
     
  3. Adapter

    Adapter Newbie

    Joined:
    Jan 3, 2012
    Messages:
    12
    Likes Received:
    1
    I have whm/cpanel, can u tell where it is ?

    Thanks
     
  4. purewealthinc

    purewealthinc Regular Member

    Joined:
    May 3, 2010
    Messages:
    427
    Likes Received:
    383
    Occupation:
    Web Fishing
    Location:
    World Wide Web City
    Do you have a Parallels Power Panel? Evey Dedicated and VPS has Power Panel, power panel is different from WHM and cPanel.

    If you have a Power Panel like Parallels, Well it depends on the Linux distribution you are using, the version of php and the way you install it with Apache web server.

    Php.ini may be here in your Power Panel

    /etc/php.ini

    Or here:

    /etc/php/php.ini
    /etc/php5/php.ini

    Or here:

    /usr/bin/php5/bin/php.ini

    Hope that helps
     
    • Thanks Thanks x 1
  5. aReJay

    aReJay Power Member

    Joined:
    Apr 29, 2009
    Messages:
    736
    Likes Received:
    237
    Location:
    Down under
    If you have WHM/Cpanel most of the settings can be accessed via the GUI.

    Otherwise you need to SSH into the server and look at /etc/php.ini, /etc/php/php.ini, /etc/php5/php.ini

    Don't forget to restart the apache service afterwards.
     
    • Thanks Thanks x 1