Join the community today
Register Now

Nginx Perl CGI scripts

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by GamerJota, Apr 15, 2016.

  1. GamerJota

    GamerJota Member

    49
    7
    8
    Mar 1, 2016
    Ratings:
    +18
    Local Time:
    2:18 AM
    Hey guys!
    So I'm not sure on how to run a CGI script on centminmod.
    First thing I did was enable NGINX PERL:

    NGXDYNAMIC_PERL='y'
    NGINX_PERL='y'

    Now... What to do? I just want to be able to run scripts from each site's /cgi-bin/ folder.
    I don't know much about this but I believe I can use FastCGI, fgciwrap or Simple CGI ?
    Also what about the package perl-FCGI.x86_64? Do I need it?


    Thank you! :p
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    3:18 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+