Setup Problems
Startup Problems
Customising WebCollab
Performance Tuning
Uploading Files
RSS Feeds
iCalendar
Email
Security
Internationalisation
Unicode
Remote Databases
Database Types
Database Transactions
Database Backups
Translations
#chmod 666 config.phpFor security, reinstate afterwards with:
#chmod 664 config.php
extension_dir = "c:\php\extensions\"(or whatever your extensions directory is called)
; extension=php_mbstring.dll
# php -m
Running PHP 4.2.2
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
[PHP Modules]
mysql
pgsql
[Zend Modules]
#
;extension=mysql.so
;extension=pgsql.so
<?phpThe line starting 'ini_set' is new and has been added to the file. Nothing else is changed.
ini_set('include_path', '.' );
define('BASE', '' );
?>
//max uploaded file size in bytes (2 Mb is the default)The default file size limit is 2 Mb.
define('FILE_MAXSIZE', 2000000 );
<Files *.php>The size limit in this example is 10 Mb (10,485,760 bytes)
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 10485760
</Files>
php_value upload_max_filesize 20000000The default size limit is 2 Mb.
php_value post_max_size 20000000
AuthType BasicThe usernames and passwords need to be setup in the named file, which in this example is /etc/apache/passwd/passwords. The usernames in this file also need to match the existing usernames in the WebCollab database. More information on setting up this file is given in the Apache website documentation
AuthName "WebCollab"
AuthUserFile /etc/apache/passwd/passwords
AuthGroupFile /etc/apache/passwd/groups
Require group GroupName
http://<user>:<password>@<host>:<port>/<url-path>For a typical Webcollab setup at mysite.webcollab.com with this might be:
http://username:password@http://mysite.webcollab.com:80/rss/rss_projects.php
//mail transport (SMTP for standard mailserver, or PHPMAIL for PHP mail() ) define('MAIL_TRANSPORT', "PHPMAIL" );The PHP mail() function is not as fully featured as the WebCollab SMTP built-in, and may not work reliably with all systems.
postgresql | => PostgreSQL abstraction layer |
mysql | => standard MySQL abstraction layer |
mysql_innodb | => MySQL abstraction layer with innodb transaction support |
mysqli | => improved MySQL abstraction layer with innodb transaction support |
# dump_mysql.shUsage: dump_mysql.sh <database user> <database name> <database password>
# dump_postgresql.shUsage: dump_postgresql.sh <database name>