Obsolete Releases > SME 8.x Contribs

Wordpress 3.0

<< < (2/3) > >>

Stefano:
who is the owner:group of /opt/wordpress?

newburns:
blogger:www

blogger is the user that has chroot access into /opt/wordpress: That is the only way I could think of doing the ftp within Wordpress

Knyte:
I found that by adding the following to wp-config.php:

--- Code: ---define('FS_METHOD', 'direct');
--- End code ---
...and then, from command line:

--- Code: ---chown -R apache: /opt/wordpress/wp-content
--- End code ---
...WordPress no longer prompts for FTP info.

Also, I added to php.ini:

--- Code: ---upload_tmp_dir =/tmp/
--- End code ---
...and WordPress accepts media file uploads.

Hopefully someone can suggest a better method for file uploads?  I understand it's better practice to apply a different tmp folder per web app, rather than globally.

newburns:
Great! Will try this to confirm when I get around a terminal. Command line from Android is too frustrating.

New issue:
What is needed to have the URL different for different blogs using multisite, I.e.: http://mtrosemedia.tk/wordpress/ronblog  to http://mtrosemedia.tk/ronblog

janet:
Knyte


--- Quote ---Hopefully someone can suggest a better method for file uploads?  I understand it's better practice to apply a different tmp folder per web app, rather than globally.

--- End quote ---

Create
/opt/wordpress/tmp1
/opt/wordpress/tmp2
etc

and then do
for site 1
upload_tmp_dir =/opt/wordpress/tmp1
for site 2
upload_tmp_dir =/opt/wordpress/tmp2
and so on

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version