Apache2 and Wordpress
Is anyone familiar with this issue?
Thanks.
5 Replies
I'm also on Debian, 5 32-bit. I tried your solution and it still gives the same error. I'm thinking it has something to do with the way virtualmin configures each new website, which i'm really unfamiliar with.
Create a file with the following content, and name it whoami.php
Place it in your Wordpress public_html directory, and browse to it. It'll display the name of the user who is running the script. DELETE THE FILE IMMEDIATELY, AS IT MAY BECOME A SECURITY PROBLEM IF SOMEONE ELSE SEES IT.
Then you can chown the Wordpress files so that the said user can modify them.
If this doesn't work, check if you have safe_mode enabled or disabled in your PHP configuration.
BTW, I don't think it's a good idea to chown the entire public_html directory. Most of the time, Wordpress only needs to write inside the wp-content directory. The only exception is when Wordpress wants to update itself, or when a plugin wants to modify the .htaccess file. Those cases don't happen very often, so you should normally keep those files from being writable.
I tried uploading a plugin, about 650k in size and it worked, however i tried uploading a theme, which is 2.2 megs and it I receive the error message? My max file upload in php.ini is 8M so I don't think that's the issue. It's really odd, it seems like wordpress is timing out, anywho, I will try to increase the timeout value and see if that helps.
Thanks again.