The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with php configuration

Discussion in 'General Discussion' started by garychild, Jul 18, 2005.

  1. garychild

    garychild Member

    Joined:
    Feb 14, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I am installing Moodle - online learning resource creator. All is uploaded OK

    when i run the installer i am informed of the following

    --------------------------------------------------
    1.
    Your server does not seem to have GD installed.

    GD is a library that is required by PHP to allow Moodle to process images
    (such as the user profile icons) and to create new images (such as the log
    graphs). Moodle will still work without GD - these features will just not be
    available to you.

    To add GD to PHP under Unix, compile PHP using the --with-gd parameter.

    ---------------------------------------------------
    2.
    The PHP memory limit for your server is currently set to 8M.

    This may cause Moodle to have memory problems later on, especially if you have
    a lot of modules enabled and/or a lot of users.

    We recommend that you configure PHP with a higher limit if possible, like 16M.
    There are several ways of doing this that you can try:

    If you are able to, recompile PHP with --enable-memory-limit. This will allow
    Moodle to set the memory limit itself.

    ---------------------------------------------
    Can anyone tell me how to do these things or point me to an instruvtion manual?


    thanks
     
  2. jaygreentree

    jaygreentree Registered

    Joined:
    Jul 13, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indiana
    Are you on a dedicated server with root access? if so then you need to edit the php.ini file.
     
  3. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    Problem 1:
    Select GD under PHP Modules when buidling Apache/PHP in easyapache/buildapache.

    Problem 2:
    Use a text editor like pico or vim to edit /usr/local/lib/php.ini.
    Find the following line:
    Code:
    memory_limit = 8M                       ; Maximum amount of memory a script may consume (8MB)
    And replace the 8M with 16M
     
Loading...

Share This Page