wordpress site unable to upload

cdawg7281

Registered
Aug 14, 2008
2
0
51
I have a server running:

WHM 11.40.1
Apache 2.2.26
PHP 5.4.25

i have a customer that is unable to upload anything via the wordpress dashboard. I built a test site on the server and install wordpress and have the same issues. After some digging I found the error is a 403 forbidden error while accessing wp-admin/async-upload.php. I checked through the wordpress forums and tried a few of the suggestion such as adding IfModule entries to .htaccess but none of those solutions had any affect. I'm wondering if anyone else has run into this issue. I'm sure it something I'm overlooking. Thanks in advance for any input.
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
Check your Apache error logs in /usr/local/apache/logs/error_log. Some possibilities:

1) the upload script is hitting a mod_security rule (if you have modsec enabled)
2) the folder or file permissions are bad on that file or a folder above it
3) an .htaccess directive within the folder or one above it is denying access

In any of these cases, the error log will usually tell you what's going on.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

In addition to the Apache error log, let us know if you notice any specific entries in the error_log file within the account. Also, post which PHP configuration settings you have enabled with the following command:

Code:
/usr/local/cpanel/bin/rebuild_phpconf --current
Thank you.