?
Solved

Wordpress file upload error on new Ubuntu server

Posted on 2015-02-21
5
Medium Priority
?
216 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 18

Accepted Solution

by:
Lucas Bishop earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

770 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