| 1 |
WordPress Multi User |
|---|
| 2 |
-------------------- |
|---|
| 3 |
|
|---|
| 4 |
WordPress MU is a multi user version of WordPress. |
|---|
| 5 |
|
|---|
| 6 |
If you're not comfortable editing PHP code, taking care of a complex |
|---|
| 7 |
webserver and database system and being pro-active about following |
|---|
| 8 |
developments of this project then run, don't walk, to |
|---|
| 9 |
http://wordpress.com/ and sign yourself and your friends up to free blogs. |
|---|
| 10 |
It's easier in the long run and you'll save yourself a lot of pain |
|---|
| 11 |
and angst. ;) |
|---|
| 12 |
|
|---|
| 13 |
Install |
|---|
| 14 |
======= |
|---|
| 15 |
Unarchive into a web directory and call that directory through your |
|---|
| 16 |
browser and web server. Follow the instructions and links and all |
|---|
| 17 |
should work fine. |
|---|
| 18 |
|
|---|
| 19 |
Apache |
|---|
| 20 |
====== |
|---|
| 21 |
Apache must be configured so that mod_rewrite works. Here are |
|---|
| 22 |
instructions for Apache 2. Apache 1.3 is very similar. |
|---|
| 23 |
|
|---|
| 24 |
1. Make sure a line like the following appears in your httpd.conf |
|---|
| 25 |
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so |
|---|
| 26 |
|
|---|
| 27 |
2. In the <Directory> directive of your virtual host, look for this |
|---|
| 28 |
line |
|---|
| 29 |
"AllowOverride None" |
|---|
| 30 |
and change it to |
|---|
| 31 |
"AllowOverride FileInfo Options" |
|---|
| 32 |
|
|---|
| 33 |
PHP |
|---|
| 34 |
=== |
|---|
| 35 |
For security reasons, it's very important that PHP be configured as follows: |
|---|
| 36 |
|
|---|
| 37 |
1. Don't display error messages to the browser. This is almost always |
|---|
| 38 |
turned off but sometimes when you're testing you turn this on and forget |
|---|
| 39 |
to reset it. |
|---|
| 40 |
|
|---|
| 41 |
2. GLOBAL variables must be turned off. This is one of the first things |
|---|
| 42 |
any security aware admin will do. These days the default is for it to |
|---|
| 43 |
be off! |
|---|
| 44 |
|
|---|
| 45 |
3. If you want to restrict blog signups, set the restrict domain email |
|---|
| 46 |
setting in the admin. |
|---|
| 47 |
|
|---|
| 48 |
The easiest way of configuring it is via the .htaccess file that is |
|---|
| 49 |
created during the install. If you haven't installed WPMU yet then edit |
|---|
| 50 |
the file htaccess.dist in this directory and add these two lines at the |
|---|
| 51 |
top: |
|---|
| 52 |
|
|---|
| 53 |
php_flag register_globals 0 |
|---|
| 54 |
php_flag display_errors 0 |
|---|
| 55 |
|
|---|
| 56 |
This is NOT included in that file by default because it doesn't work on |
|---|
| 57 |
all machines. If it doesn't work on your machine, you'll get a cryptic |
|---|
| 58 |
"500 internal error" after you install WPMU. To remove the offending lines |
|---|
| 59 |
just edit the file ".htaccess" in your install directory and you'll see |
|---|
| 60 |
them at the top. Delete and save the file again. |
|---|
| 61 |
Read here for how to enable this: http://ie.php.net/configuration.changes |
|---|
| 62 |
|
|---|
| 63 |
If you don't want to edit your .htaccess file then you need to change your |
|---|
| 64 |
php.ini. It's beyond the scope of this README to know exactly where it is |
|---|
| 65 |
on your machine, but if you're on a shared hosted server you probably |
|---|
| 66 |
don't have access to it as it requires root or administrator privileges |
|---|
| 67 |
to change. |
|---|
| 68 |
|
|---|
| 69 |
If you do have root access, try "locate php.ini" or check in: |
|---|
| 70 |
|
|---|
| 71 |
/etc/php4/apache2/php.ini |
|---|
| 72 |
/usr/local/lib/php.ini |
|---|
| 73 |
|
|---|
| 74 |
Once you have opened your php.ini, look for the sections related to |
|---|
| 75 |
register_globals and display_errors. Make sure both are Off like so: |
|---|
| 76 |
|
|---|
| 77 |
display_errors = Off |
|---|
| 78 |
register_globals = Off |
|---|
| 79 |
|
|---|
| 80 |
You'll have to restart Apache after you modify your php.ini for the |
|---|
| 81 |
settings to be updated. |
|---|
| 82 |
|
|---|
| 83 |
Support Forum: |
|---|
| 84 |
|
|---|
| 85 |
http://mu.wordpress.org/forums/ |
|---|
| 86 |
|
|---|
| 87 |
http://mu.wordpress.org/ |
|---|