Discover Centmin Mod today
Register Now

Nginx Nginx 404 not found on index page

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Feb 25, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    55,417
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,837
    Local Time:
    3:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah comment it out for phpmyadmin but phpmyadmin has it's own php include file /usr/local/nginx/conf/php_${DIRNAME}.conf separate from php.conf and is already commented out by default - well it should be, you can double check your /usr/local/nginx/conf/php_${DIRNAME}.conf where dirname is randomly generated for each new install

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,417
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,837
    Local Time:
    3:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ah there's one set for phpmyadmin in /usr/local/nginx/conf/phpfpmd/phpfpm_myadmin.conf

    Code:
    php_admin_value[open_basedir] = ${BASEDIR}/${DIRNAME}:/tmp
    might comment that out with semi-colon ;

    and restart php-fpm and see
     
  3. pamamolf

    pamamolf Well-Known Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    8:43 AM
    Nginx-1.26.x
    MariaDB 10.6.x
    I just uninstall it :(

    Maybe @FAPM can check it ?
     
  4. MaximilianKohler

    MaximilianKohler Member

    201
    8
    18
    Jun 23, 2023
    Ratings:
    +35
    Local Time:
    10:43 PM