PHP.ini Modification, programmer needed

Discussion in 'PHP' started by chap_onlne, Jan 22, 2008.

  1. #1
    hello guys, i have a file host site on a shared hosting, while i was uploading a large file i found that "Upload Max Filesize" is 7M.

    Have a look here; http://www.dare-share.com/env.php

    i also use PHP Version 5.2.3; http://www.dare-share.com/env.php?get=phpinfo

    i contacted my host support but they said we don't provide access to the global php.ini file.
    You can make those changes if you compile your own version of PHP,
    though. Just check out the following links.

    http://wiki.dreamhost.com/PHP.ini

    http://wiki.dreamhost.com/index.php/Installing_PHP4

    http://wiki.dreamhost.com/index.php/Installing_PHP5

    I need a programmer to make a custom Php & increase the "Post Max Size" &
    Upload Max Filesize to 1024 Mega.

    pm me for details

     
    chap_onlne, Jan 22, 2008 IP
  2. LinketySplit

    LinketySplit Peon

    Messages:
    97
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can override default INI settings in the top of your scripts.

    Example: ini_get('upload_max_filesize','50M');

    This example, does not work however, this is a setting that must be changed before a script starts its execution.

    What you need to do is create an .htaccess file (or add this line to an existing one).

    php_value upload_max_filesize 50M
     
    LinketySplit, Jan 22, 2008 IP
  3. LinketySplit

    LinketySplit Peon

    Messages:
    97
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    One more note, the .htaccess method will only work if Apache is configured to "allow overrides". This is entirely dependent on your hosting provider, but my guess would be they will allow you override settings using .htaccess.

    Good luck, PM me if you need more help.
     
    LinketySplit, Jan 22, 2008 IP
  4. chap_onlne

    chap_onlne Peon

    Messages:
    280
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Here in the config.php file

    $maxfilesize = $content[3];
    //// the maximum file size allowed to be uploaded (in megabytes)

    but i dont know what is this, but i modified it through the admin panel
    Max File Size 500 MB
    but its not working till the moment. i also dont have .htaccess & created one. but its not working



    Hey i sent u a pm to add me
     
    chap_onlne, Jan 22, 2008 IP