![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 | |
Confirmed User
Industry Role:
Join Date: Apr 2004
Posts: 5,726
|
Wordpress and suPHP
On two of my hosts (VPS, Liquidweb and Servint) I can't get wordpress media upload working (as well as wordpress/plugins auto update):
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
ORLY?
Industry Role:
Join Date: Oct 2005
Location: NL & US
Posts: 2,579
|
php safe mode is deprecated since 5.3
http://php.net/manual/en/features.safe-mode.php you should upgrade your php first if you are concerned about security I would advice suphp, especially with wordpress which get hacked a lot Your normal sites can still run mod_php |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Apr 2004
Posts: 5,726
|
Thanks, actually I run only wordpress on those accounts.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Change the owner of wp-content to apache or whatever is required to allow you to upload images. Note: this may not let you modify or delete any of those files through FTP later.
If that doesn't work because of safe mode, you're stuck with using FTP to do all your uploads manually.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Industry Role:
Join Date: Jun 2012
Posts: 51
|
imho
create a new user who has apache and ftp permissions then chown the new user is what you need., i had the same issue., you most likely cant update wordpress too. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Oct 2002
Posts: 3,745
|
You are correct suPHP is the WRONG answer. suPHP is the same as chmodding ALL of your files 777 - it let's all scripts write anywhere they want. Stupid. Very stupid.
Along with chmodding that directory (and only the required directory) 777, use a <Directory> entry outside of that directory to lock it down - "deny from all" if possible, at least turn off PHP for that directory. If you want to get fancy, you can bind mount the directory noexec.
__________________
For historical display only. This information is not current: support@bettercgi.com ICQ 7208627 Strongbox - The next generation in site security Throttlebox - The next generation in bandwidth control Clonebox - Backup and disaster recovery on steroids |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Apr 2004
Posts: 5,726
|
Thanks guys for your advices.
|
![]() |
![]() ![]() ![]() ![]() ![]() |