Solved

Wordpress file upload error on new Ubuntu server

Posted on 2015-02-21
5
172 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 61

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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 properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now