php

Increase Upload limits on Rackspace Cloud

By default Rackspace Cloud Sites upload limit is set very low at just 2MB lucky this is easy to change all the way up to around 100MB per file. For the sites you want a larger PHP upload limit on simply add the following line to the .htaccess file

php_value upload_max_filesize 25M

You can also put this in a .htaccess file at the route of your account to apply the new limit to very site you host.

You can check if the change was successfully applied on the WordPress upload pages or by creating a PHP page with the following and browsing to it

<?php
phpinfo();
?>

Auto Update WordPress on Rackspace Cloud

This is the first in a series of how to’s regarding Rackspace Cloud Sites hosting. When I recently moved my sites over here I ran into a few problems with configuration differences and settings from my old host and in this series I will be exampling why they are in place and how to get around them.

I recently set up a new WordPress powered site on the Rackspace Cloud, I uploaded the 3.0 files I already had and planned on using the auto update capabilities of WordPress to get the latest version. However on Rackspace Cloud Sites the memory allocated to PHP is the default 8MB that PHP sets itself up with and WordPress need at least 128MB of RAM to update itself.

The solution is to add a line to the .htaccess file the site uses. Under the WordPress section of the .htaccess I added:

php_value memory_limit 128M

You could also place this in the route of your account to affect all your sites but I do this on a site by site bases as I have also increased the upload limit and I don’t want the higher limit on every site.

 Scroll to top