adsense

How to Increase Size Import Into WordPress 3.0





1. Download the 'wp-config.php' and 'wp-functions.php' files from your WordPress installation on your web server. Open the wp-config.php file in a text or HTML editor.
2. Locate line 19, which comes right after the end of the block of information text outlined in asterisks. Insert a blank line just above the following code:'define('DB_NAME', 'database_name_here');'Now paste the following line of code into the blank line:define('WP_MEMORY_LIMIT', '64M');This tells WordPress to attempt to increase your PHP memory limit to 64 megabytes, a huge increase over most web servers' default of 8 megabytes. Increasing memory limit can help pages load faster, help some scripts to complete and prevent the media manager from timing out during the upload of large files.

3. Save the file and then access your WordPress installation on your web server. Rename your existing wp-config.php file to wp-config.old. This is your fail-safe in case something goes wrong with your edited version. Upload your new wp-config.php file, then access your WordPress administration panel.
4. Open the wp-functions.php file in a text or HTML editor. Scroll to the very bottom, and insert a new line just above the '?>' at the end of the document. Copy the following code, then place your cursor at the beginning of that blank line and paste it in:@ini_set( 'upload_max_size' , '100M' );@ini_set( 'post_max_size', '105M');@ini_set( 'max_execution_time', '300' );You should now have the following at the end of your document:@ini_set( 'upload_max_size' , '100M' );@ini_set( 'post_max_size', '105M');@ini_set( 'max_execution_time', '300' );?>
5. Save the file and then access your WordPress installation on your web server. Rename your existing wp-functions.php file to wp-functions.old. This is your fail-safe in case something goes wrong with your edited version. Upload your new wp-functions.php file, then access your WordPress administration panel. If you receive an error or a blank white page, something went wrong with the previous step, and you will need to rename your wp-functions.old back to wp-functions.php and try again.

Comments

0 Responses to "How to Increase Size Import Into WordPress 3.0"

Post a Comment

Popular Posts

About