+ Reply to Thread
Results 1 to 3 of 3

Thread: php.ini

  1. #1
    XColl is offline x10 Elder XColl is an unknown quantity at this point
    Join Date
    Apr 2005
    Posts
    527

    php.ini

    Where is php.ini located? I need to edit the size of uploading with a php form. :sleep2:

  2. #2
    Bryon is online now Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: php.ini

    You can't edit php.ini.. Only someone with access to it can. :-)

    Use the function ini_set() instead.

    Quote Originally Posted by http://x10hosting.com/showthread.php?t=13455

    Quote Originally Posted by NedreN
    On whatever page you want to upload more to the site with, add this at the top:

    PHP Code:
    ini_set('post_max_size''20M');
    ini_set('upload_max_filesize''20M'); 
    I haven't tested this, but it should work.

  3. #3
    XColl is offline x10 Elder XColl is an unknown quantity at this point
    Join Date
    Apr 2005
    Posts
    527

    Re: php.ini

    Well... I'm trying to upload something with e107 and it says its at currently 5MB, and plus I don't know how to use those commands on e107... lol

+ Reply to Thread

Similar Threads

  1. changes to php.ini
    By londonturu in forum Free Hosting
    Replies: 5
    Last Post: 10-19-2006, 05:00 PM
  2. php.ini path
    By clareto in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 08-15-2006, 11:08 AM
  3. PHP.ini error
    By dzigns in forum Free Hosting
    Replies: 2
    Last Post: 11-30-2005, 12:18 PM
  4. Changing php.ini of server
    By funindia in forum Free Hosting
    Replies: 5
    Last Post: 07-26-2005, 08:27 AM
  5. PHP Settings
    By DD32 in forum Free Hosting
    Replies: 4
    Last Post: 04-25-2005, 04:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers