Welcome to Centmin Mod Community
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

    41,329
    9,274
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,229
    Local Time:
    7:42 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    41,329
    9,274
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,229
    Local Time:
    7:42 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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 Premium Member Premium Member

    3,442
    329
    83
    May 31, 2014
    Ratings:
    +627
    Local Time:
    12:42 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I just uninstall it :(

    Maybe @FAPM can check it ?