• After two days of searching, sobbing, and, and breaking down into the fetal position– I have the Windows Server php5.ini code for GoDaddy! I’ve been using it, it works, and nothing else seems to have broken in the process.
    Create a php5.ini file, copy the code below, and upload it to your root directory (and “recycle” your IIS applications via the hosting control center).
    Awesomesauce.

    register_globals = off
    allow_url_fopen = off
    
    expose_php = Off
    max_input_time = 60
    variables_order = "EGPCS"
    extension=php_mysql.dll
    extension_dir = C:\php5\ext
    upload_tmp_dir = /tmp
    precision = 12
    SMTP = relay-hosting.secureserver.net
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
    memory_limit = 75M ;change as needed
    post_max_size = 75M ;change as needed
    file_uploads = On
    upload_max_filesize = 75M ;change as needed

    I found this via sitepoint.com

    Good luck.

    -R

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter rguilbeault

    (@rguilbeault)

    Okay, so it broke a few things. I’ve noticed this code broke some other things– like collecting RSS feeds into the dashboard and searching for plugins from within the WordPress environment. Removing the php5.ini from the root and recycling resolves the issue but you are back to square one with the upload limits.

    *sigh*

    Has anyone else gotten any further?

    Hey, I’m also having problems with my upload limit (www.pancakesandbeer.com)… Godaddy really makes it hard to change the upload limit on a Windows server, so after all the research I’ve been doing, it seems changing the php5.ini is the best option, except for the fact that it’s impossible to find a php5.ini code…
    Were you ever able to fix the RSS feed/plugin problem?? I really can’t figure out what to do, and I’m starting to lose hope!!

    This goes back a ways but I think someone else found they needed to place the same php5.ini in their wp-admin directory also. Try that and see if it helps.

    Here’s what works for me.

    1. Open notepad
    2. Put below codes in:

    extension=php_mysql.dll
    extension_dir = C:\php5\ext\
    memory_limit = 512M
    post_max_size = 512M
    file_uploads = On
    upload_max_filesize = 512M
    max_execution_time = 60

    3. Save as php5.ini

    btw i have the shared windows hosting at godaddy with IIS 7.0 and i put the php5.ini in the root directory

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    If you’re using GoDaddy, why not just switch to the Linux hosting instead? Then everything works great, including INI files. No trickiness at all.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The Windows Server php5.ini code to change upload limits in GoDaddy (FULL CODE!)’ is closed to new replies.