« Previous Next »

Thread: PHP5.INI NOT WORKING SITE ROOT FOLDER

Last post 04-03-2009 8:37 PM by brashquido. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 03-20-2009, 11:56 PM

    PHP5.INI NOT WORKING SITE ROOT FOLDER

    Hello, i have windows shared hosting and when i create php5.ini on my website root directory and run my site then i got fatal error of mysql_connect.. and when i delete or rename php5.ini from my website root directory and run my site then site run perfect ....no error.... basically i want to increase my upload file size limit. php5 running under IIS7 cgi/fastcgi can anybody tell me what is wrong here ? Waiting for your Kindly Reply,
    Thanks,
    Kaushik.
  • 03-21-2009, 1:44 PM In reply to

    Re: PHP5.INI NOT WORKING SITE ROOT FOLDER

    Hello,

    It depends on the content of your php5.ini file. You could also ask your hosting company for assistance.

    Regards

  • 03-22-2009, 8:59 PM In reply to

    Re: PHP5.INI NOT WORKING SITE ROOT FOLDER

     Where did you get your ini file from? If you are going to create your own ini file, then you should ensure that all the same PHP extensions are enabled as you are presently using. You can check this using the phpinfo function.

    To increase your file upload limit, you'll need to increase the upload_max_filesize setting.  Also ensure post_max_size is set appropriately too.

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
  • 04-03-2009, 3:21 PM In reply to

    Re: PHP5.INI NOT WORKING SITE ROOT FOLDER

    we too are facing the same problem. using php at shared hosting. we created the php.ini and uploaded to server, though the changes does not occur.

     Any idea?

  • 04-03-2009, 8:37 PM In reply to

    Re: PHP5.INI NOT WORKING SITE ROOT FOLDER

     First off, does your host actually support this configuration? If they do, then you will need to recycle your app pool for it to take effect.

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
Page 1 of 1 (5 items)
Microsoft Communities