Posted by Jamie Holly on January 16, 2010 at 4:58pm
3 followers
| Project: | Boost |
| Version: | 6.x-1.x-dev |
| Component: | PHP compatibility |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I just spent a grueling hour figuring out why Boost wasn't caching on a *BSD server. It turns out BSD by default doesn't have the zlib library enabled (should have guessed grrrrr). My simple fix was adding this in settings.php:
if (!function_exists('gzencode')){
function gzencode($data){
return $data;
}
}To prevent issues with this it would probably be best to perform a check to see if gzencode actually exists and if not then Boost shouldn't call it. If anything, hopefully this will help people who might go through what I just went through. Welcome to the minimalistic nightmares of BSD.
A better fix would be a quick modification to
Comments
#1
#2
committed
#3
Automatically closed -- issue fixed for 2 weeks with no activity.