1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I am not able to find php.ini in my server

Discussion in 'Site & Server Administration' started by Manojworld, Aug 21, 2014.

  1. #1
    Hi,
    I need to edit php.ini of my server for net2ftp script to increase execution time 30 second to 60 second.
    I add info file to track that files location and it says "/usr/selector.etc/php.ini"
    But there is no /usr/selector.etc/php.ini directories..

    My info file is http://rahulbambhaniya.com/info.php


    Please friends help me it too urgent to change max execution time from php.ini.....
    SEMrush
     
    Manojworld, Aug 21, 2014 IP
    SEMrush
  2. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    229
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #2
    Use the following command to find the path to the php.ini file:
    php -i | grep php.ini
     
    RoseHosting, Aug 21, 2014 IP
  3. Krellen

    Krellen Greenhorn

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    18
    #3
    You can also make a script with this in it:

    <?php phpinfo(); ?>
    Code (markup):
    Load that in your browser, and it will give you all sorts of info, including the path to php.ini.
     
    Krellen, Sep 17, 2014 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    26,453
    Likes Received:
    3,959
    Best Answers:
    111
    Trophy Points:
    665
    #4
    Have you got terminal/command access to the server. If you are on shared hosting you won't be allowed anywhere near php.ini
     
    sarahk, Sep 17, 2014 IP
  5. Krellen

    Krellen Greenhorn

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    18
    #5
    It really depends on your web host. We allow our clients to have their own custom php.ini files, so it's definitely possible.
     
    Krellen, Sep 17, 2014 IP
    sarahk likes this.
  6. iwf-jacob

    iwf-jacob Well-Known Member

    Messages:
    222
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Do you have a dedicated server, a VPS, or shared? If you have root access you can simply go:
    find / -name php.ini

    Otherwise you'll need to check in with your host.
     
    iwf-jacob, Sep 21, 2014 IP
  7. maddenitrous

    maddenitrous Member

    Messages:
    190
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    33
    #7
    Only your hosting provider can help you with this.
     
    maddenitrous, Sep 23, 2014 IP