Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Access forbbiden in accessing moodle page on web server

  1. #1

    Default Access forbbiden in accessing moodle page on web server

    Hi.

    After upgrading Opensuse leap 42.3 to 15.1 I tried to access to my moodle server through http://localhost/moodle and I got a complete blank screen.
    My web server works, other pages on the server load ok.
    I have been researching and it seems it may be a problem with php7 not working well with moodle, so I downgraded to php 5.6. After that, connecting to http://localhost/moodle returns

    Access forbidden!

    You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.


    /srv/www/htdocs/moodle is drwxrwxr-x+ 46 root root


    with
    Code:
    fperal@tutatis:/srv/www/htdocs> getfacl moodle
    # file: moodle
    # owner: root
    # group: root
    user::rwx
    user:wwwrun:rwx
    user:fperal:rwx
    group::r-x
    mask::rwx
    other::r-x
    default:user::rwx
    default:user:wwwrun:rwx
    default:user:fperal:rwx
    default:group::r-x
    default:mask::rwx
    default:other::r-x



    There is no index.html in moodle, but index.php

    Code:
    fperal@tutatis:/srv/www/htdocs/moodle> ls -l
    total 576
    drwxrwxr-x+ 11 root root  4096 ene 19  2016 admin
    drwxrwxr-x+ 19 root root  4096 sep 22  2013 auth
    drwxrwxr-x+  7 root root  4096 sep 22  2013 backup
    drwxrwxr-x+  5 root root  4096 sep 22  2013 badges
    -rw-rwxr--+  1 root root   354 sep 22  2013 behat.yml.dist
    drwxrwxr-x+ 43 root root  4096 nov 30  2018 blocks
    drwxrwxr-x+  3 root root  4096 sep 22  2013 blog
    -rw-rwxr--+  1 root root  1162 sep 22  2013 brokenfile.php
    drwxrwxr-x+  6 root root  4096 sep 22  2013 cache
    drwxrwxr-x+  6 root root  4096 sep 22  2013 cache.bak
    drwxrwxr-x+  4 root root  4096 sep 22  2013 calendar
    drwxrwxr-x+  3 root root  4096 sep 22  2013 cohort
    drwxrwxr-x+  2 root root  4096 sep 22  2013 comment
    drwxrwxr-x+  4 root root  4096 sep 22  2013 completion
    -rw-rwxr--+  1 root root   296 sep 22  2013 composer.json
    -rw-rwxr--+  1 root root 32438 sep 22  2013 config-dist.php
    -rw-rwxr--+  1 root root   744 nov  9  2018 config.php
    -rw-rwxr--+  1 root root 35147 sep 22  2013 COPYING.txt
    drwxrwxr-x+  7 root root  4096 sep 22  2013 course
    -rw-rwxr--+  1 root root  2594 sep 22  2013 draftfile.php
    drwxrwxr-x+ 17 root root  4096 sep 22  2013 enrol
    drwxrwxr-x+  2 root root  4096 sep 22  2013 error
    -rw-rwxr--+  1 root root  3923 sep 22  2013 file.php
    drwxrwxr-x+  3 root root  4096 sep 22  2013 files
    drwxrwxr-x+ 14 root root  4096 sep 22  2013 filter
    drwxrwxr-x+  8 root root  4096 sep 22  2013 grade
    drwxrwxr-x+  3 root root  4096 sep 22  2013 group
    -rw-rwxr--+  1 root root  1423 sep 22  2013 help_ajax.php
    -rw-rwxr--+  1 root root  1761 sep 22  2013 help.php
    -rw-rwxr--+  1 root root 13203 sep 22  2013 index.php
    drwxrwxr-x+  3 root root  4096 sep 22  2013 install
    -rw-rwxr--+  1 root root 24004 sep 22  2013 install.php
    drwxrwxr-x+  3 root root  4096 sep 22  2013 iplookup
    drwxrwxr-x+  3 root root  4096 sep 22  2013 lang
    drwxrwxr-x+ 41 root root  4096 sep 22  2013 lib
    drwxrwxr-x+  2 root root  4096 sep 22  2013 local
    drwxrwxr-x+  2 root root  4096 sep 22  2013 login
    -rw-rwxr--+  1 root root 50620 sep 22  2013 mdeploy.php
    -rw-rwxr--+  1 root root 10838 sep 22  2013 mdeploytest.php
    drwxrwxr-x+  4 root root  4096 sep 22  2013 message
    drwxrwxr-x+  4 root root  4096 sep 22  2013 mnet
    drwxrwxr-x+ 25 root root  4096 nov 30  2018 mod
    drwxrwxr-x+  2 root root  4096 sep 22  2013 my
    drwxrwxr-x+  3 root root  4096 sep 22  2013 notes
    -rw-rwxr--+  1 root root  5054 sep 22  2013 phpunit.xml.dist
    drwxrwxr-x+ 13 root root  4096 sep 22  2013 pix
    drwxrwxr-x+  2 root root  4096 sep 22  2013 plagiarism
    -rw-rwxr--+  1 root root  1376 sep 22  2013 pluginfile.php
    drwxrwxr-x+  8 root root  4096 sep 22  2013 portfolio
    drwxrwxr-x+  7 root root  4096 sep 22  2013 question
    drwxrwxr-x+  3 root root  4096 sep 22  2013 rating
    -rw-rwxr--+  1 root root   760 sep 22  2013 README.txt
    drwxrwxr-x+ 15 root root  4096 sep 22  2013 report
    drwxrwxr-x+ 23 root root  4096 sep 22  2013 repository
    drwxrwxr-x+  2 root root  4096 sep 22  2013 rss
    drwxrwxr-x+  2 root root  4096 sep 22  2013 tag
    -rw-rwxr--+  1 root root   935 sep 22  2013 tags.txt
    drwxrwxr-x+ 26 root root  4096 sep 22  2013 theme
    -rw-rwxr--+  1 root root  1334 sep 22  2013 TRADEMARK.txt
    drwxrwxr-x+  7 root root  4096 sep 22  2013 user
    drwxrwxr-x+  2 root root  4096 sep 22  2013 userpix
    -rw-rwxr--+  1 root root  1635 sep 22  2013 version.php
    drwxrwxr-x+  7 root root  4096 sep 22  2013 webservice
    fperal@tutatis:/srv/www/htdocs/moodle>
    and accessing http://localhost/moodle/index.php returns a "you have chosen to open index.php" and options "open with" "save as.." (firefox)

    So, maybe is a problem with php configuration?



    best regards

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,807
    Blog Entries
    14

    Default Re: Access forbbiden in accessing moodle page on web server

    Please show
    Code:
    sudo a2enmod -l
    My suspicion is that php7 is not enabled, hence the option to download instead of process.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Access forbbiden in accessing moodle page on web server

    I agree with Knurpht.
    Php is not enabled since it is wanting you to download the php file instead of open it.
    If you use Yast -> HTTP sever to launch Apache, go to the module page and check php enable.
    If by command line, I think you can do php -v to get the version of php being used ( 7.2.5 as example ).
    Then a2enmod php7.2.5 to enable php.
    Then restart apache ( service apache2 restart ).

    good luck!

  4. #4

    Default Re: Access forbbiden in accessing moodle page on web server

    You were right, php was not enabled

    Code:
    root@tutatis:/home/fperal> a2enmod -l
    authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap perl python reqtimeout authn_core authz_core mod_access_compat
    root@tutatis:/home/fperal>
    I have enabled it

    Code:
    root@tutatis:/home/fperal> php -v
    PHP 5.6.40 (cli) 
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    
    root@tutatis:/home/fperal> a2enmod php5.6.40
    
    root@tutatis:/home/fperal> a2enmod -l
    authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap perl python reqtimeout authn_core authz_core mod_access_compat php5.6.40
    root@tutatis:/home/fperal>
    And I restarted apache2.

    But it did not change anything.

  5. #5

    Default Re: Access forbbiden in accessing moodle page on web server

    I have seen that a way to test php on apache is to make a file called for instance test.php with the following content:

    PHP Code:
    <?php

        phpinfo
    ();

    ?>
    And locate it under /srv/www/htdocs then browsing to http://localhost/test.php will show info about php.
    But in my case the result is that the browser download the file

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,807
    Blog Entries
    14

    Default Re: Access forbbiden in accessing moodle page on web server

    AFAIK it should be
    Code:
    sudo a2enmod php
    Where it could be that php should be php5.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7

    Default Re: Access forbbiden in accessing moodle page on web server

    I have changed from php5 to php7 and is the same.

    I have tried as you say

    Code:
    tutatis:/etc/php7/cli # a2enmod php
    tutatis:/etc/php7/cli # a2enmod -l
    authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap perl python reqtimeout authn_core authz_core mod_access_compat mpm_prefork php7.2.5 php
    tutatis:/etc/php7/cli # systemctl restart apache2
    tutatis:/etc/php7/cli # a2dismod php7.2.5
    tutatis:/etc/php7/cli # systemctl restart apache2
    tutatis:/etc/php7/cli # a2enmod -l
    authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap perl python reqtimeout authn_core authz_core mod_access_compat mpm_prefork php
    tutatis:/etc/php7/cli #

    But is always the same.

    in a console php works

    Code:
    fperal@tutatis:~> php /srv/www/htdocs/info.php
    
    phpinfo()
    PHP Version => 7.2.5
    
    ..........
    
    Configuration File (php.ini) Path => /etc/php7/cli
    Loaded Configuration File => /etc/php7/cli/php.ini
    Scan this dir for additional .ini files => /etc/php7/conf.d
    Additional .ini files parsed => /etc/php7/conf.d/ctype.ini,
    /etc/php7/conf.d/dom.ini,
    /etc/php7/conf.d/iconv.ini,
    /etc/php7/conf.d/json.ini,
    /etc/php7/conf.d/mysqli.ini,
    /etc/php7/conf.d/pdo.ini,
    /etc/php7/conf.d/pdo_mysql.ini,
    /etc/php7/conf.d/pdo_sqlite.ini,
    /etc/php7/conf.d/sqlite3.ini,
    /etc/php7/conf.d/tokenizer.ini,
    /etc/php7/conf.d/xmlreader.ini,
    /etc/php7/conf.d/xmlwriter.ini
    
    PHP API => 20170718
    PHP Extension => 20170718
    Zend Extension => 320170718
    Zend Extension Build => API320170718,NTS
    PHP Extension Build => API20170718,NTS
    Debug Build => no
    Thread Safety => disabled
    Zend Signal Handling => enabled
    Zend Memory Manager => enabled
    Zend Multibyte Support => disabled
    IPv6 Support => enabled
    DTrace Support => disabled
    
    Registered PHP Streams => php, file, glob, data, http, ftp
    Registered Stream Socket Transports => tcp, udp, unix, udg
    Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, convert.iconv.*
    
    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    
    ............


    I have tried to add to apache httpd.conf

    Code:
    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>

    As is described here but it dindn't work either.

  8. #8
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,807
    Blog Entries
    14

    Default Re: Access forbbiden in accessing moodle page on web server

    You need
    Code:
    sudo a2enmod php7
    otherwise apache will not find the php7 module.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  9. #9

    Default Re: Access forbbiden in accessing moodle page on web server

    I was just seeing that the php module was not loaded.

    Doning what you say

    Code:
    tutatis:/etc/apache2/vhosts.d # a2enmod -l
    authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap perl python reqtimeout authn_core authz_core mod_access_compat mpm_prefork php php7.2.5
    tutatis:/etc/apache2/vhosts.d # a2dismod php
    tutatis:/etc/apache2/vhosts.d # a2dismod php7.2.5
    tutatis:/etc/apache2/vhosts.d # a2enmod php7
    tutatis:/etc/apache2/vhosts.d # a2enmod -l
    authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap perl python reqtimeout authn_core authz_core mod_access_compat mpm_prefork php7
    tutatis:/etc/apache2/vhosts.d # apache2ctl -M
    Loaded Modules:
     core_module (static)
     so_module (static)
     http_module (static)
     mpm_prefork_module (static)
     unixd_module (static)
     systemd_module (static)
     authz_host_module (shared)
     actions_module (shared)
     alias_module (shared)
     auth_basic_module (shared)
     authz_groupfile_module (shared)
     authn_file_module (shared)
     authz_user_module (shared)
     autoindex_module (shared)
     cgi_module (shared)
     dir_module (shared)
     include_module (shared)
     log_config_module (shared)
     mime_module (shared)
     negotiation_module (shared)
     setenvif_module (shared)
     status_module (shared)
     userdir_module (shared)
     asis_module (shared)
     imagemap_module (shared)
     reqtimeout_module (shared)
     authn_core_module (shared)
     authz_core_module (shared)
     access_compat_module (shared)
     php7_module (shared)
    tutatis:/etc/apache2/vhosts.d # systemctl restart apache2
    and

    Code:
    tutatis:/etc/apache2/vhosts.d # lsof   |grep php
    lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/500/gvfs
          Output information may be incomplete.
    httpd-pre   461                       root  mem       REG                9,2     52080   99363061 /usr/lib64/php7/extensions/xmlwriter.so
    httpd-pre   461                       root  mem       REG                9,2     35664   99363060 /usr/lib64/php7/extensions/xmlreader.so
    httpd-pre   461                       root  mem       REG                9,2     18928   99363059 /usr/lib64/php7/extensions/tokenizer.so
    httpd-pre   461                       root  mem       REG                9,2     53872   99363058 /usr/lib64/php7/extensions/sqlite3.so
    httpd-pre   461                       root  mem       REG                9,2     32000   99363057 /usr/lib64/php7/extensions/pdo_sqlite.so
    httpd-pre   461                       root  mem       REG                9,2     31680   99363063 /usr/lib64/php7/extensions/pdo_mysql.so
    httpd-pre   461                       root  mem       REG                9,2    126616   99363056 /usr/lib64/php7/extensions/pdo.so
    httpd-pre   461                       root  mem       REG                9,2    134304   99363062 /usr/lib64/php7/extensions/mysqli.so
    httpd-pre   461                       root  mem       REG                9,2    137864   99363054 /usr/lib64/php7/extensions/json.so
    httpd-pre   461                       root  mem       REG                9,2     43912   99363053 /usr/lib64/php7/extensions/iconv.so
    httpd-pre   461                       root  mem       REG                9,2    192728   99363055 /usr/lib64/php7/extensions/dom.so
    httpd-pre   461                       root  mem       REG                9,2     14664   99363052 /usr/lib64/php7/extensions/ctype.so
    httpd-pre   461                       root  mem       REG                9,2   9525480   99745802 /usr/lib64/apache2/mod_php7.so
    httpd-pre   466                     wwwrun  mem       REG                9,2     52080   99363061 /usr/lib64/php7/extensions/xmlwriter.so
    httpd-pre   466                     wwwrun  mem       REG                9,2     35664   99363060 /usr/lib64/php7/extensions/xmlreader.so
    httpd-pre   466                     wwwrun  mem       REG                9,2     18928   99363059 /usr/lib64/php7/extensions/tokenizer.so
    httpd-pre   466                     wwwrun  mem       REG                9,2     53872   99363058 /usr/lib64/php7/extensions/sqlite3.so
    httpd-pre   466                     wwwrun  mem       REG                9,2     32000   99363057 /usr/lib64/php7/extensions/pdo_sqlite.so
    httpd-pre   466                     wwwrun  mem       REG                9,2     31680   99363063 /usr/lib64/php7/extensions/pdo_mysql.so
    httpd-pre   466                     wwwrun  mem       REG                9,2    126616   99363056 /usr/lib64/php7/extensions/pdo.so
    httpd-pre   466                     wwwrun  mem       REG                9,2    134304   99363062 /usr/lib64/php7/extensions/mysqli.so
    httpd-pre   466                     wwwrun  mem       REG                9,2    137864   99363054 /usr/lib64/php7/extensions/json.so
    httpd-pre   466                     wwwrun  mem       REG                9,2     43912   99363053 /usr/lib64/php7/extensions/iconv.so
    httpd-pre   466                     wwwrun  mem       REG                9,2    192728   99363055 /usr/lib64/php7/extensions/dom.so
    httpd-pre   466                     wwwrun  mem       REG                9,2     14664   99363052 /usr/lib64/php7/extensions/ctype.so
    httpd-pre   466                     wwwrun  mem       REG                9,2   9525480   99745802 /usr/lib64/apache2/mod_php7.so
    httpd-pre   467                     wwwrun  mem       REG                9,2     52080   99363061 /usr/lib64/php7/extensions/xmlwriter.so
    httpd-pre   467                     wwwrun  mem       REG                9,2     35664   99363060 /usr/lib64/php7/extensions/xmlreader.so
    httpd-pre   467                     wwwrun  mem       REG                9,2     18928   99363059 /usr/lib64/php7/extensions/tokenizer.so
    httpd-pre   467                     wwwrun  mem       REG                9,2     53872   99363058 /usr/lib64/php7/extensions/sqlite3.so
    httpd-pre   467                     wwwrun  mem       REG                9,2     32000   99363057 /usr/lib64/php7/extensions/pdo_sqlite.so
    httpd-pre   467                     wwwrun  mem       REG                9,2     31680   99363063 /usr/lib64/php7/extensions/pdo_mysql.so
    httpd-pre   467                     wwwrun  mem       REG                9,2    126616   99363056 /usr/lib64/php7/extensions/pdo.so
    httpd-pre   467                     wwwrun  mem       REG                9,2    134304   99363062 /usr/lib64/php7/extensions/mysqli.so
    httpd-pre   467                     wwwrun  mem       REG                9,2    137864   99363054 /usr/lib64/php7/extensions/json.so
    httpd-pre   467                     wwwrun  mem       REG                9,2     43912   99363053 /usr/lib64/php7/extensions/iconv.so
    httpd-pre   467                     wwwrun  mem       REG                9,2    192728   99363055 /usr/lib64/php7/extensions/dom.so
    httpd-pre   467                     wwwrun  mem       REG                9,2     14664   99363052 /usr/lib64/php7/extensions/ctype.so
    httpd-pre   467                     wwwrun  mem       REG                9,2   9525480   99745802 /usr/lib64/apache2/mod_php7.so
    httpd-pre   468                     wwwrun  mem       REG                9,2     52080   99363061 /usr/lib64/php7/extensions/xmlwriter.so
    httpd-pre   468                     wwwrun  mem       REG                9,2     35664   99363060 /usr/lib64/php7/extensions/xmlreader.so
    httpd-pre   468                     wwwrun  mem       REG                9,2     18928   99363059 /usr/lib64/php7/extensions/tokenizer.so
    httpd-pre   468                     wwwrun  mem       REG                9,2     53872   99363058 /usr/lib64/php7/extensions/sqlite3.so
    httpd-pre   468                     wwwrun  mem       REG                9,2     32000   99363057 /usr/lib64/php7/extensions/pdo_sqlite.so
    httpd-pre   468                     wwwrun  mem       REG                9,2     31680   99363063 /usr/lib64/php7/extensions/pdo_mysql.so
    httpd-pre   468                     wwwrun  mem       REG                9,2    126616   99363056 /usr/lib64/php7/extensions/pdo.so
    httpd-pre   468                     wwwrun  mem       REG                9,2    134304   99363062 /usr/lib64/php7/extensions/mysqli.so
    httpd-pre   468                     wwwrun  mem       REG                9,2    137864   99363054 /usr/lib64/php7/extensions/json.so
    httpd-pre   468                     wwwrun  mem       REG                9,2     43912   99363053 /usr/lib64/php7/extensions/iconv.so
    httpd-pre   468                     wwwrun  mem       REG                9,2    192728   99363055 /usr/lib64/php7/extensions/dom.so
    httpd-pre   468                     wwwrun  mem       REG                9,2     14664   99363052 /usr/lib64/php7/extensions/ctype.so
    httpd-pre   468                     wwwrun  mem       REG                9,2   9525480   99745802 /usr/lib64/apache2/mod_php7.so
    httpd-pre   470                     wwwrun  mem       REG                9,2     52080   99363061 /usr/lib64/php7/extensions/xmlwriter.so
    httpd-pre   470                     wwwrun  mem       REG                9,2     35664   99363060 /usr/lib64/php7/extensions/xmlreader.so
    httpd-pre   470                     wwwrun  mem       REG                9,2     18928   99363059 /usr/lib64/php7/extensions/tokenizer.so
    httpd-pre   470                     wwwrun  mem       REG                9,2     53872   99363058 /usr/lib64/php7/extensions/sqlite3.so
    httpd-pre   470                     wwwrun  mem       REG                9,2     32000   99363057 /usr/lib64/php7/extensions/pdo_sqlite.so
    httpd-pre   470                     wwwrun  mem       REG                9,2     31680   99363063 /usr/lib64/php7/extensions/pdo_mysql.so
    httpd-pre   470                     wwwrun  mem       REG                9,2    126616   99363056 /usr/lib64/php7/extensions/pdo.so
    httpd-pre   470                     wwwrun  mem       REG                9,2    134304   99363062 /usr/lib64/php7/extensions/mysqli.so
    httpd-pre   470                     wwwrun  mem       REG                9,2    137864   99363054 /usr/lib64/php7/extensions/json.so
    httpd-pre   470                     wwwrun  mem       REG                9,2     43912   99363053 /usr/lib64/php7/extensions/iconv.so
    httpd-pre   470                     wwwrun  mem       REG                9,2    192728   99363055 /usr/lib64/php7/extensions/dom.so
    httpd-pre   470                     wwwrun  mem       REG                9,2     14664   99363052 /usr/lib64/php7/extensions/ctype.so
    httpd-pre   470                     wwwrun  mem       REG                9,2   9525480   99745802 /usr/lib64/apache2/mod_php7.so
    httpd-pre   539                     wwwrun  mem       REG                9,2     52080   99363061 /usr/lib64/php7/extensions/xmlwriter.so
    httpd-pre   539                     wwwrun  mem       REG                9,2     35664   99363060 /usr/lib64/php7/extensions/xmlreader.so
    httpd-pre   539                     wwwrun  mem       REG                9,2     18928   99363059 /usr/lib64/php7/extensions/tokenizer.so
    httpd-pre   539                     wwwrun  mem       REG                9,2     53872   99363058 /usr/lib64/php7/extensions/sqlite3.so
    httpd-pre   539                     wwwrun  mem       REG                9,2     32000   99363057 /usr/lib64/php7/extensions/pdo_sqlite.so
    httpd-pre   539                     wwwrun  mem       REG                9,2     31680   99363063 /usr/lib64/php7/extensions/pdo_mysql.so
    httpd-pre   539                     wwwrun  mem       REG                9,2    126616   99363056 /usr/lib64/php7/extensions/pdo.so
    httpd-pre   539                     wwwrun  mem       REG                9,2    134304   99363062 /usr/lib64/php7/extensions/mysqli.so
    httpd-pre   539                     wwwrun  mem       REG                9,2    137864   99363054 /usr/lib64/php7/extensions/json.so
    httpd-pre   539                     wwwrun  mem       REG                9,2     43912   99363053 /usr/lib64/php7/extensions/iconv.so
    httpd-pre   539                     wwwrun  mem       REG                9,2    192728   99363055 /usr/lib64/php7/extensions/dom.so
    httpd-pre   539                     wwwrun  mem       REG                9,2     14664   99363052 /usr/lib64/php7/extensions/ctype.so
    httpd-pre   539                     wwwrun  mem       REG                9,2   9525480   99745802 /usr/lib64/apache2/mod_php7.so
    httpd-pre   541                     wwwrun  mem       REG                9,2     52080   99363061 /usr/lib64/php7/extensions/xmlwriter.so
    httpd-pre   541                     wwwrun  mem       REG                9,2     35664   99363060 /usr/lib64/php7/extensions/xmlreader.so
    httpd-pre   541                     wwwrun  mem       REG                9,2     18928   99363059 /usr/lib64/php7/extensions/tokenizer.so
    httpd-pre   541                     wwwrun  mem       REG                9,2     53872   99363058 /usr/lib64/php7/extensions/sqlite3.so
    httpd-pre   541                     wwwrun  mem       REG                9,2     32000   99363057 /usr/lib64/php7/extensions/pdo_sqlite.so
    httpd-pre   541                     wwwrun  mem       REG                9,2     31680   99363063 /usr/lib64/php7/extensions/pdo_mysql.so
    httpd-pre   541                     wwwrun  mem       REG                9,2    126616   99363056 /usr/lib64/php7/extensions/pdo.so
    httpd-pre   541                     wwwrun  mem       REG                9,2    134304   99363062 /usr/lib64/php7/extensions/mysqli.so
    httpd-pre   541                     wwwrun  mem       REG                9,2    137864   99363054 /usr/lib64/php7/extensions/json.so
    httpd-pre   541                     wwwrun  mem       REG                9,2     43912   99363053 /usr/lib64/php7/extensions/iconv.so
    httpd-pre   541                     wwwrun  mem       REG                9,2    192728   99363055 /usr/lib64/php7/extensions/dom.so
    httpd-pre   541                     wwwrun  mem       REG                9,2     14664   99363052 /usr/lib64/php7/extensions/ctype.so
    httpd-pre   541                     wwwrun  mem       REG                9,2   9525480   99745802 /usr/lib64/apache2/mod_php7.so
    httpd-pre   543                     wwwrun  mem       REG                9,2     52080   99363061 /usr/lib64/php7/extensions/xmlwriter.so
    ............

    Now the php7_module is loaded, but it does not work either (the php file is still not processed)

  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,807
    Blog Entries
    14

    Default Re: Access forbbiden in accessing moodle page on web server

    Mmm. Out of ideas for the moment. Can only show you my output, I don't have moodle installed, and it comes from my TW server:
    Code:
    authz_host actions alias authz_user auth_basic authn_file authz_groupfile autoindex cgi dir env expires include log_config mime negotiation setenvif userdir auth_digest headers proxy proxy_http rewrite ssl vhost_alias version authnz_external authn_core socache_shmcb authz_core php7 proxy_wstunnel reqtimeout authz_unixgroup pwauth
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •