2007-01-04 17:58:28
How to use ATutor without Zlib enabled
Hi,
I am hosting ATutor in a server whose PHP does not enable Zlib. Unfortunately, the administrator of the server does not want to change this option because he told me that this keeps their PHP memory footprint lower, and also works around some namespace conflicts. He also suggests me include the following code in any file that needs Zlib:
if ( !extension_loaded( 'zlib' )) {
if ( !dl( 'zlib.so' )) {
exit( 'Cannot load zlib extension.' );
}
}
Please let me know:
- If I can continue install ATutor without Zlib enabled
- If yes, what problems may occur with ATutor if it runs without Zlib support
- How to overcome this situation most intelligently
Many thanks,
Vu Minh Chieu