Web Hosting Resources, Forum, FAQ, Directory
Login
Username:

Password:


Lost Password?

Register now!
Main Menu
Search
Hosting Article :: Dedicated Linux

Increasing User File Upload Limits Using php.ini


php.ini


NOTE: The location of your php.ini file can vary, depending on your operating system/control panel combination. If you are using Fedora 4 with Plesk control panel, for example, this file is in the following location: /etc/php.ini

If you are using a different operating system and/or control panel, you can find the location of your php.ini file by running the following from your command line:

php -i | grep php.ini

There are two variables within your php.ini file that are responsible for managing user file uploads.

  • post_max_size This variable determines the maximum amount of data that PHP will accept in a single form submission using the POST method. Its default value is 8 MB, as shown below:

    post_max_size = 8M

  • upload_max_filesize This variable limits the size of an invidivual file uploaded to your site. Its default value is 2 MB, as shown below:

    upload_max_filesize = 2M

An increase in the value of these variables expands user file upload limits.

NOTE: After making changes to php.ini, you must perform an httpd restart for them to take effect. This is accomplished by running the following from your command line:

/sbin/service httpd restart

<< Rebooting Your Dedicated Server How to configure yum to use our local Fedora Core or CentOS repositories >>
Trackback
  • URL: http://www.powerhoster.com/domainhosting/modules/article/view.article.php/c10/1504
  • Trackback: http://www.powerhoster.com/domainhosting/modules/article/trackback.php/1504
Rate
10987654321
API: Toolkit PM Email PDF Bookmark Print | RSS | RDF | ATOM
Copyright© Jane83 & Powerhoster.com
The comments are owned by the poster. We aren't responsible for their content.

 Re: ClimateScape and FireScape

Posted: 2011/12/6 8:50  Updated: 2011/12/6 8:50

beaujon


Joined: 2011/12/1
From:
Posts: 65353
Winter inevitably means thick within the thick coat. Choose a pair of Ugg Boots Sale Uk which will maintain warm and also light, then Ugg Boots Sale USA ought to be advisable choice. We might actually familiar with the genuine Ugg Boots Sale USA , we know its actual is proper for each winter and summer. ugg boots cheap You can find Ugg Boots Sale USA for Guys, discount uggs ladies and youngsters causal boots . We are avaible in many distinct colors, distinct designs and diverse sizes. Gray and white sweater, has the taste of ripe free shipping . Most people are fall in really like with Ugg Boots Sale Uk . Over the past couple of years, Ugg Boots Sale Uk has turn into a kind of fashion. Low cost Ugg Boots Sale USA here for you. uggs free shipping
© 2001-2007 Power Hoster