Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Location
    Rajkot
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Custom php5.ini on Windws shared web hosting

    I have bought shared hosting (Windows) space on GoDaddy.com
    and they allow custom php5.ini for customize php configuration.
    now i am creating php5.ini in my root folder for increase upload file size limit
    then when i run my site . it gives me fatal error of mysql_connect .....

    and then when i remove php5.ini from my root folder and after run my site it's work properly ......
    so can u tell me what is the problem with php5.ini or am i wrong in this things....
    php5 running in iis7 cgi/fastcgi
    let me know your openion....
    Waiting for your Kindly Reply,

  • #2
    New Coder
    Join Date
    Apr 2009
    Location
    Ahmedabad,India
    Posts
    54
    Thanks
    4
    Thanked 0 Times in 0 Posts
    hi kaushikkav,

    Is your problem solved about php5.ini?

    I have a same problem with php5.ini file setting.

    I have shared hosting (Windows) space on GoDaddy.com with IIS 7.

    I have created and uploaded php5.ini file with following variables ,

    register_globals = On
    allow_url_fopen = On
    memory_limit = 50M
    max_execution_time = 120
    max_input_time = 60
    post_max_size = 8M
    file_uploads = On
    upload_max_filesize = 192M
    extension_dir = "c:\php5\ext"
    extension=php_mysql.dll
    extension=php_mysqli.dll
    extension=php_pdo_mysql.dll

    And it did change in phpinfo file on my server but at the time of uploading the 1-2 MB file its give below error,

    500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.

    could anyone help me in this?

    Thanks,
    jam

  • #3
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    do you guys have a solution for this?

    I am having the same problem right now

    best regards

  • #4
    New Coder
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello,

    Are you sure that GoDaddy allow custom php5.ini on Windows shared hosting? It will be much better to ask them for assistance.

    Regards
    http://www.windowshostingasp.net - Free Windows hosting information and resources.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •