php.ini error - Please help!

Discussion in 'PHP' started by chops, Mar 12, 2009.

  1. #1
    Hi -- this is my php.ini file from my godaddy account. I think I altered something a long time ago, but I see from my error logs there is something wrong with line16
    Can anyone help?
    [PHP]register_globals = off
    allow_url_fopen = off
    
    expose_php = Off
    max_input_time = 60
    variables_order = "EGPCS"
    extension_dir = ./
    upload_tmp_dir = /tmp
    precision = 12
    SMTP = relay-hosting.secureserver.net
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
    
    [Zend]
    zend_extension=/usr/local/zo/ZendExtensionManager.so
    zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
    ini_set("max_execution_time", "300")
    PHP:
    [/PHP]
     
    chops, Mar 12, 2009 IP
  2. landonpt

    landonpt Guest

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would google for some examples usage, it's either not written like that or you are using php 6.

    I found some info but can't post links yet apparently.
     
    landonpt, Mar 12, 2009 IP
  3. offshoredc

    offshoredc Peon

    Messages:
    7
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What is the safe_mode setting in your php.ini file? If safe_mode is on then certain settings can't be changed.
     
    offshoredc, Mar 12, 2009 IP
  4. Estevan

    Estevan Peon

    Messages:
    120
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    0
    #4
    hello

    remove this line ini_set("max_execution_time", "300") and all run fine
     
    Estevan, Mar 12, 2009 IP
    chops likes this.