i want to have a custom php.ini

Discussion in 'Site & Server Administration' started by black code, Aug 3, 2010.

  1. #1
    my hosting safe mod is on i need to be off so told me you can creat your own php.ini but i dont know how where i can put it pls abyone canhelp me thanks
     
    black code, Aug 3, 2010 IP
  2. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Ask your host to create one for you.
     
    mcfox, Aug 3, 2010 IP
  3. black code

    black code Greenhorn

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    im asked they told me that if you want to make ur own php.ini make it but we dont support u with a one
     
    black code, Aug 3, 2010 IP
  4. BreezeHost

    BreezeHost Member

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    28
    #4
    You can create custom php.ini file under your public_html folder.
    You may active it by or turn it off by changing it to either On OR Off.
    safe_mode = On
     
    BreezeHost, Aug 3, 2010 IP
  5. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #5
    Just create a php.ini file under public_html directory using cPanel >> File Manager and add the following to it

     
    madaboutlinux, Aug 4, 2010 IP
  6. black code

    black code Greenhorn

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    new problem tmp directory can mot be created i do not why Failed to create temp_dir

    what can i do
     
    black code, Aug 4, 2010 IP
  7. BreezeHost

    BreezeHost Member

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    28
    #7
    What error are you getting while creating directory?
     
    BreezeHost, Aug 4, 2010 IP
    mcfox likes this.
  8. black code

    black code Greenhorn

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #8
    my uploading script should create this directoy automaticly but give me Failed to create temp_dir i dont know why
     
    black code, Aug 4, 2010 IP
  9. BreezeHost

    BreezeHost Member

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    28
    #9
    If you are not able to create files, you should check if you have enough disk space for your account.
     
    BreezeHost, Aug 6, 2010 IP