Want more timely Centmin Mod News Updates?
Become a Member

PHP-FPM No input file specified.

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by FAPM, Jan 18, 2016.

  1. FAPM

    FAPM Member

    58
    4
    8
    Jul 16, 2015
    Ratings:
    +6
    Local Time:
    10:02 AM
    1.9.2
    10.0.20
    Hi ALL :),
    I tried to install an application like this:

    cd /usr/var/xxx
    chown -R nginx:nginx /usr/share/xxx
    ln -s /usr/share/xx /home/nginx/domains/a.aa.com/public/xx

    Result : No input file specified.

    =>
    #fastcgi_param PHP_ADMIN_VALUE open_basedir=$document_root/:/usr/local/lib/php/:/tmp/; ?
    Or
    fastcgi_param PHP_ADMIN_VALUE open_basedir=$document_root/:/usr/local/lib/php/:/tmp/:/usr/share/xx; ?

    Thank :)
     
  2. FAPM

    FAPM Member

    58
    4
    8
    Jul 16, 2015
    Ratings:
    +6
    Local Time:
    10:02 AM
    1.9.2
    10.0.20
    fastcgi_param PHP_ADMIN_VALUE open_basedir=$document_root/:/usr/local/lib/php/:/tmp/:/usr/share/xx; => OK ;)
     
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    28,989
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    6:02 PM
    Nginx 1.13.x
    MariaDB 5.5
    yes that's the one :)

    see FAQ item 26 on how to set it on a per vhost basis