Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv25001
Modified Files:
INSTALL
Log Message:
Adding info about changing file permissions after install.
Index: INSTALL
===================================================================
RCS file: /cvsroot/php-blog/serendipity/INSTALL,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- INSTALL 28 Mar 2003 20:05:23 -0000 1.1.1.1
+++ INSTALL 24 Jun 2003 03:25:25 -0000 1.2
@@ -3,8 +3,19 @@
###############################################################################
1. Decompress and put this folder somewhere inside your document root
-2. Open serendipity in your browser (installer will say hi to you)
-3. Done!
+2. If you want the directory to be called something other than "serendipity",
+change the directory name now
+3. Open serendipity in your browser (installer will say hi to you)
+4. Serendipity ships world-writeable (777) to make installation easier.
+After the install is complete, you should change the permissions to allow
+only your web-server user (e.g. Nobody) to access the serendipity directory.
+If you have enabled file-upload and/or caching, you need to do something
+like this:
+ chown -R Nobody serendipity/
+ chmod -R 744 serendipity/
+because the web server needs to be able to write to directories inside the
+distribution. Otherwise, you should probably chmod -R 644 serendipity.
+5. Done!
###############################################################################
# REQUIREMENTS #
@@ -13,7 +24,6 @@
1. .htaccess support
2. PHP Version 4 or greater (PHP 4.3.1 or greater recommended)
3. php.ini options:
- - short_open_tag on
- error_reporting E_ALL & ~E_NOTICE (or lower)
- file_uploads on (For import/image upload features)
4. php extensions:
@@ -35,20 +45,20 @@
-serendipity_functions.inc.php
-serendipity_lang_en.inc.php
These files are never loaded in the browser, but included (as their
- suffix suggessts).
+ suffix suggests).
3. Sample usage of the API
- -blog_layout.php
+ -serendipity_layout.inc.php
This file displays the calendar, the search field, and the diary entries.
You can either include this file somewhere in your site, or use the
- callback funktions directly in your site. It's up to you. I designed this,
+ callback functions directly in your site. It's up to you. I designed this,
so you can quickly start off with a default layout :)
4. Dummy page
-index.php
This file "simulates" your homepage, you can safely ignore it, it is mainly
for testing, whether serendipity works (currently it just prints a standard
- HTML header and includes blog_layout.php
+ HTML header and includes serendipity_layout.inc.php
###############################################################################
serendipity (c) 2003 Jannis Hermanns <J...@ha...> www.jannis.to
|