ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


How to use ATutor without Zlib enabled


  • 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

  • 2007-01-05 08:34:15

    Re: How to use ATutor without Zlib enabled

    Zlib is a requirement. You could hack ATutor to install an run without it, but you're on your own.

    I'd suggest getting a new ISP. A "lower memory footpriint" is a pretty lame excuse.