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

    52,786
    12,080
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,607
    Local Time:
    7:20 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

    52,786
    12,080
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,607
    Local Time:
    7:20 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 Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    12:20 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    I just uninstall it :(

    Maybe @FAPM can check it ?
     
  4. MaximilianKohler

    MaximilianKohler Member

    174
    5
    18
    Jun 23, 2023
    Ratings:
    +23
    Local Time:
    2:20 AM