Need help with php

Discussion in 'PHP' started by kezhu911, Jun 5, 2009.

  1. #1
    hi, I am not very good at php stuff, but I need to edit files for my site, I need to do this in php.ini, but I not sure where this files is, can someone tell me
     
    kezhu911, Jun 5, 2009 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    That really didn't make much sense - do you need to edit .php-files on your server? Or do you need to edit the php.ini-file on your server?

    If it's the latter (the php.ini-file), then there are several scenarios - if you're running this on a local test-server, search for the php.ini-file and edit it. If this is on a dedicated server (hosted), then you can do pretty much the same (search and edit). If you're on a shared hosting / web-hotel solution, you probably can't access the server's php.ini-file.

    If you tell us what you need to do, maybe we can help you find a way to do it.
     
    PoPSiCLe, Jun 5, 2009 IP
  3. Hoth

    Hoth Well-Known Member

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    php.ini is in different places on different servers. In unix/linux it's usually somewhere beneath /etc/ but it could be in different subdirectories. Try the "locate" command from your ssh connection: locate php.ini.
     
    Hoth, Jun 6, 2009 IP