Edit:
I changed a few things. The new Howto is below in the fourth posting Hi,
after installing egroupware by using this great HOWTO
http://forums.contribs.org/index.php?topic=35146.0 (thanks)
I noticed I was not able to use SyncML because there is only PHP4 and updating SME to PHP5 seems not to be an easy task.
So, here
http://www.egroupware.org/index.php?page_name=sync&wikipage=SyncMLInstallHowto I found something about using php5-cgi.
I took php5-fastcgi and php5-mysql from SuSE10. Because of some failed dependencies I couldn't install the rpms directly so I extracted them and copied the files to the system directly. I collected all the files in this tgz:
http://kb-ohnemus.de/div/files.tgzExtract it somewhere and do the following:
mkdir /etc/php5
mkdir /etc/php5/conf.d
cp mysql.ini /etc/php5/conf.d
mkdir /etc/php5/fastcgi
cp php.ini /etc/php5/fastcgi
mkdir /usr/lib/php5
mkdir /usr/lib/php5/extensions
cp mysql /usr/lib/php5/extensions
cp php5 /home/e-smith/files/ibays/Primary/cgi-bin
This one tells rpc.php to use php5-fastcgi instead of php4:
cp 99php5 /etc/e-smith/templates/etc/httpd/conf/httpd.conf
expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart
SyncML had some problems finding PEAR.php, so I changed:
vim /opt/egroupware/html/phpgwapi/inc/horde/lib/core.php
on line 27:
include_once '/usr/share/pear/PEAR.php';
vim /opt/egroupware/html/phpgwapi/inc/horde/Horde.php
on line 3:
include_once '/usr/share/pear-addons/Log.php';
vim /opt/egroupware/html/phpgwapi/inc/horde/Horde/iCalendar.php
on line 155:
require_once '/usr/share/pear/PEAR.php';
I guess there are better ways than "hardcoding" the paths, but so far I didn't figure out.
That's it. Point any Browser to
https://your-server/egroupware/rpc.phpIt should only say: You should access this URL only with a SyncML enabled device.
So, backup your egroupware-database in case something goes wrong.
Point your SyncML-device to
https://your-server/egroupware/rpc.phpUsername and Password are the same as for logging into egroupware of course.
Server-Paths:
./contacts
./calendar
./tasks
./notes
Then do a "reload device" for each of the four. You will loose all the devices previous data, but this is important for having consistent data. I had no success merging differing server and device data. This will take a while.
If reloading the device stops somewhere in between
vim /etc/php5/fastcgi/php.ini
and set memory_limit on line 300 to something reasonable, for me it worked with 80M.
After reloading the device you should be able to use "normal" sync.
This works without any problems on my palm-powered gsl xplore m68 using Synthesis-SyncML-Client-Software over GPRS or Bluetooth.
If I have missed anything, tell me.
Happy syncing...
Manuel