moodle installation on linux vps debian with ispconfig 3

Discussion in 'Installation/Configuration' started by livetv, Feb 13, 2014.

  1. livetv

    livetv Member

    debian-6.0-x86_64 vps
    ispconfig 3 & moodle 2.6.1

    trying to install moodle 2.6.1 but i understood that i have permission issue,
    i tried many solutions but non of them helped me,

    - itried to edit the /etc/apache2/php.ini with-
    from - ;open_basedir =
    to open_basedir = /var/moodledata/

    tried .htaccess in the /var/moodledata


    Thank you
    Last edited: Feb 13, 2014
  2. livetv

    livetv Member

    some solution to moodle installation with ispconfig 3

    To pass the premission issue:
    1. $ mkdir /var/www/clients/client1/web1/private/moodledata
    2. $ cp config-dist.php config.php
    3. set corect varibels DB' pass' root etc

    and every thing working fine

    but i understand that i have to secure the moodledata but i don't know how

    Thank you
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    1) To secure your system, undo your open basedir changes as this pened up the website security restrictions.
    2) ensure that you use php mode php-fcgi or php-fpm and that suexec is enabled in that site.
    3) copy the data to the private directory as you did already and ensure that all files in the private directory are owned by the web user and client group of that website.

Share This Page