friendica/INSTALL

39 lines
1.4 KiB
Plaintext
Raw Normal View History

2010-07-11 12:35:06 +02:00
Installation guide
2010-07-29 01:28:39 +02:00
The following notes apply to alpha/beta releases. Some manual installation is
required at this time.
2010-07-11 12:35:06 +02:00
1. Requirements
2010-07-29 01:28:39 +02:00
- Apache with mod-rewrite enabled and "Options All" so you can use a
local .htaccess file
- PHP > 5.1. The later the better. You'll need 5.3 for full openssl
encryption support
- PHP *command line* access with register_argc_argv set to true in the
php.ini file
2010-07-11 12:35:06 +02:00
- Mysql 5.x
2010-07-29 01:28:39 +02:00
- cron
[Dreamhost.com offers all of the necessary hosting features at a
reasonable price. If your hosting provider doesn't allow Unix shell access,
you might have trouble getting everything to work.]
2010-07-11 12:35:06 +02:00
2. Edit htconfig.php and change system settings. Rename to .htconfig.php
3. Import database.sql into your database with mysql command line or via phpmyadmin
2010-07-29 01:28:39 +02:00
4. Import updates.sql (if it exists) to catch any late-breaking devel changes
2010-07-11 12:35:06 +02:00
5. Put this directory into the root of your web server document area.
- To use a subdir of your main site, set the
config variable $a->path to the relative subdir
2010-07-29 01:28:39 +02:00
in .htconfig.php - for example to use http://example.com/test -
2010-07-11 12:35:06 +02:00
set $a->path to 'test'.
2010-07-29 01:28:39 +02:00
- Everything will work much better if you can dedicate a domain
or subdomain so that you don't require an extra server path.
2010-07-11 12:35:06 +02:00
6. Navigate to your site with a web browser and register an account.
2010-07-29 01:28:39 +02:00
7. Set up a cron task to run "php include/poller.php http://my.domain.name" once every 5-10 minutes.
2010-07-11 12:35:06 +02:00