Solved

Wordpress file upload error on new Ubuntu server

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

744 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

14 Experts available now in Live!

Get 1:1 Help Now