Line 201: |
Line 201: |
| --[[User:Snoopyski|Stéphane Gauvin -- Service Informatique SG]] 09:29, 1 March 2008 (MST) | | --[[User:Snoopyski|Stéphane Gauvin -- Service Informatique SG]] 09:29, 1 March 2008 (MST) |
| --[[User:Snoopyski|Snoopyski]] 19:04, 20 September 2007 (MDT) | | --[[User:Snoopyski|Snoopyski]] 19:04, 20 September 2007 (MDT) |
| + | |
| + | ====syncml configuration==== |
| + | |
| + | From http://forums.contribs.org/index.php?topic=40242.new;topicseen#new |
| + | |
| + | Here are the steps to configure syncml with egroupware: |
| + | |
| + | 1. Install php5-cgi as explained in this howto http://sme.firewall-services.com/spip.php?article46 |
| + | |
| + | (Stop after Step 3, Step 4 is just an example) |
| + | |
| + | |
| + | 2. Create a custom-template so that rpc.php is handled by php5: |
| + | |
| + | vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/90egw-syncml |
| + | |
| + | and enter the following: |
| + | |
| + | <Location /egroupware/rpc.php> |
| + | AddHandler php5-cgi .php |
| + | Action php5-cgi /php5-cgi/php |
| + | </Location> |
| + | |
| + | |
| + | 3. Edit /etc/php5/php.ini (this file has no templates so you can edit it directly) |
| + | On Line 304 |
| + | |
| + | memory_limit = 8M |
| + | |
| + | change it to a bigger value, for example |
| + | |
| + | memory_limit = 32M |
| + | |
| + | On Line 1191 uncomment the line: |
| + | |
| + | mbstring.func_overload = 0 |
| + | |
| + | (This may not be useful as php5-cgi has been compiled without mbstring support). |
| + | |
| + | There is no need for a htaccess file (htaccess could configure php4 because |
| + | it's an apache module but not php5-cgi). |
| + | |
| + | expand-template /etc/httpd/conf/httpd.conf |
| + | sv t /service/httpd-e-smith |
| + | sv s /service/httpd-e-smith |
| + | |
| + | To check syntax is OK do: |
| + | httpd -t |
| + | |
| + | syncml has been tested with the Funambol plugin for Outlook (several versions) & works OK. |
| | | |
| ==Gallery2 addon== | | ==Gallery2 addon== |