Solved

Wordpress file upload error on new Ubuntu server

Posted on 2015-02-21
5
204 Views
Last Modified: 2015-03-12
I recently set up a new Ubuntu server but have ran into a problem with the Wordpress websites I host on it. I am unable to upload PNG files larger than 350x350 without getting a “HTTP error.” upload error from Wordpress. I am also unable to upload JPG files lager then about 1500x1500 without getting the same error. I have changed my php.ini settings file to allow for a maximum upload file size of 256MB. I have tested the problem on a new Wordpress and on a site that I transferred to the new server from an old one where I had no problems with file uploading. Anyone know what the problem is and how to fix it?

A copy of my PHP Info file can be found here.
0
Comment
Question by:ZoeticNepenthe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40623752
What does your error log say?
0
 
LVL 1

Author Comment

by:ZoeticNepenthe
ID: 40623764
It does not display anything. I have narrowed the issue down to Fast-CGI. If I run PHP though PHP-FPM or Mod-PHP, I can upload files without any problems, however if I run PHP tough Fast-CGI it errors like above. Why is this and how can I fix it?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40623818
Without access to your server, it's tough to say.  I would lean towards the script timing out due to Fast-CGI settings or an out of memory error.
0
 
LVL 17

Accepted Solution

by:
Lucas Bishop earned 500 total points
ID: 40623855
I'd check to see what the FcgidMaxRequestLen is set to in your Apache config and potentially increase it:
http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestlen
0
 
LVL 62

Expert Comment

by:gheist
ID: 40624609
It goes hand in hand with this:
FcgidMaxRequestInMem

Probably you want to turn around 90% of requests in RAM.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question