sabredav installation and xampp

669 views Asked by At

i want to install sabredav on my system but i can't;

my os is windows7 and i use xampp. i download sabredav 1.7.9.zip. i create a folder on htdocs. the folder name is "my_project" and i copy the zip file on the folder. i user php sample of sabredav :

include 'vendor/autoload.php'; echo 'SabreDAV ', \Sabre\DAV\Version::VERSION, ' is installed.';

but this error occurred:

SabreDAV Fatal error: Class 'Sabre\DAV\Version' not found in C:\xampp\htdocs\RataOs\r.php on line 4

please help me. thanks.

1

There are 1 answers

1
Evert On

You need to run the latest SabreDAV for that to work. SabreDAV switched to PHP 5.3 namespace in version 1.8.