简体   繁体   中英

sabredav installation and xampp

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM