For me, WinCache 1.3.4 caused many problems when trying to backup/restore/import a course.
if you havemanaged to work it out - id'e love to know how
thanks
What Moodle version and PHP version are you running?
I've recently upgraded a Moodle 2.3 site to use PHP 5.4.7 with the latest version of wincache and it seems to be running ok (so far anyway!)
(Edited by Visvanath Ratnaweera - original submission Monday, 24 September 2012, 10:58 PM)
Hey Dan,
i'm using win2008 R2,PHP 5.4.6, WinCache 1.3.4.
everything works fine except for when i try to backup/restore a course.
this doesnt happen to you at all ?
you think this might be 5.4.6 issue ? (since this is the only differebce i can see between our configurations)
Maybe you can figure out why this is returning FALSE ?
Can it be your ACL on moodledata folder? And are you sure your using the PHP 5.4 config in the IIS and not your previous 5.3 config?
FYI, we had issues when editing language pack with php 5.3.x and WinCache 1.1 (see http://tracker.moodle.org/browse/MDL-29228), had to disable wincache before editing the pack otherwise moodledata/lang/fr would get an access denied and language would then revert to english everywhere. I just upgrade to 5.4.7 with WinCache 1.3 and now everything is ok. After reading your post above, I did a course backup and restore and everything was fine too. For us, upgrading resolved our problems.
what other extensions do you have active ?
maybe you can send me your php.ini file also ?
win_cache.dll = 1.3.4.0
Yep, its an english W2k8 r2 sp1with PHP 5.4.7 and MySQL 5.5.
I've install PHP 5.4 + WinCache 1.3 with Microsoft Web installer platform and then upgrade to 5.4.7 by downloading & unzipping lastest version on top of existing folder.
You can take a look at my php.ini attached, I think I've only edited the upload limit size and such, as suggested in Moodle install docs.
In the end, we had problems with WinCache too. Latest version did resolved the language pack update issue and trying a single course backup & restore did work too. However, when teacher began to dupplicate activities, they sometime had a php error regarding a folder that cannot be empty because it was locked by another process (cannot remember exact error). That seem very similar to the languages issues we had and disabling and re-enabling WinCache in IIS resolved the problem... until it happen again. So, we move to XCache instead and didn't had any issues since then. It been more than a month now and everythings run fine.
Also, we had unexpected IIS crashes sometime, once a month maybe, sometime more. Server was still up and running and no error got into PHP logs or EV, but pages just seem to stop being processed. Since we use XCache, these problems seem to have disapeared too. I cannot for sure relate these two however, but it sure look like a strange coincidence. No users have complain about performance either so, switching the PHP Accelerator to XCache help us a lot.