Solved

Wordpress file upload error on new Ubuntu server

Posted on 2015-02-21
5
178 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
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 16

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This video teaches users how to migrate an existing Wordpress website to a new domain.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

776 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