SharedLogWiki:Prerequisites
From SharedLogWiki
Prerequisits : (Only 1 and 2 are required for web-only services. For submit by email and by ftp also step 5). All external programs are optional
1)php 5 (will not work with php 4)
2)Make sure you have there pear packages installed: For instructions about PEAR go here: http://pear.php.net/manual/index.php
Log HTML_Template_Sigma Mail MDB2 MDB2_Driver_mysql (or other driver if you have other type of database) Translation2 Cache_Lite (to speed up getting translation strings) Pager HTML_Ajax HTML_CSS Validate HTML_Progress2 HTML_QuickForm2 (currently only used in admin interface) File_Archive (to extract zip and tar and tar.gz and bz archives) MIME_Type (to detect mime types of uploaded files) Net_GeoIP (to detect location of user by ip address) HTML_Safe (to remove unsafe html tags from glog entries) HTML_BBCodeParser (to allow using bb code in blog posts and comments) In the future we plan on using more, so you should get comfortable with installing pear classes.
3)Some pecl extensions (optional) For instructions on installing pecl go here: http://us.php.net/manual/en/install.pecl.php
rar (to extract uploaded rar archives) perl (to use perl from inside php. Currently used in creating slide shows because we use perl CPAN SMIL2 library for creating SMIL files) uploadprogress (if you want to display the progress bar of file uploads. This also requires at least php 5.2.0 version) memcache (must already have memcache installed. This is optional, but will speed up many pages and reduce load on the server)
4)Make sure you have php compiled with pspell (--with-pspell).
For instcutions about building php with pspell go here:
http://us2.php.net/pspell
This is necessary in order to have spell-checking capabilities for blog posts. Make sure you have php compiled —with-magickwand (ImageMagick must already be installed. When building ImageMagick, try to add support for as many image formats as possible. Then you will be able to accept the images in any format that ImageMagick supports, like Jpeg-2000, TIFF, XVG, BMP, plus usual gif, jpg, png)
5)You must also have a second instance of php installed as a cgi program. This cgi-php version must also have pear, and pecl perl and memcache if the web (usually apache) version of php has memcache support. The other pecl libs are not necessary in cgi version.
External Programs (all optional)
6)pure-ftpd (only if you want to allow uploads by ftp)
http://www.pureftpd.org/project/pure-ftpd
7)swftools (SWFDump to automatically create html code for uploaded flash files)
8)openoffice 2.3 (for automatically converting uploaded documents like Microsoft Word or WordPerfect into html)
9)If you can't install OpenOffice, then you can instead use several other command-line tools to convert uploaded documents: AbiWord, wpd2html (http://libwpd.sourceforge.net/index.html ) odf2html (http://opendocumentfellowship.com/projects/odftools )
10)Darwin DSS streaming server (if you want to stream videos) http://developer.apple.com/opensource/server/streaming/index.html
11)Helix DNA streaming server (we use it to 'stream' slide-shows because it's easy to add audio tracks and music to slide shows and easy to add transitional effects. Can also be used to stream videos in several formats) https://helix-server.helixcommunity.org/
12)If you want to do streaming and handle video uploads, then you need a way to encode uploaded videos into an appropriate streamable format. For this you need to have ffmpeg installed
http://www.mplayerhq.hu
