Current File : //proc/self/root/proc/thread-self/root/usr/bin/php
#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - php-cgi                                 Copyright 2018 cPanel, L.L.C.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

package ea_php_cli::cgi;

BEGIN {
    delete @ENV{qw(PERL5LIB PERLLIB PERL5OPT PERL5DB PERL5SHELL PERL_DEBUG_MSTATS PERL_DESTRUCT_LEVEL)};    # Paranoid much?
    unshift @INC, '/var/cpanel/ea4';                                                                        # avoid slow use lib
}

use strict;
use warnings;

use ea_php_cli ();

my $bin = "php-cgi";
run(@ARGV) unless caller();

sub run {
    return ea_php_cli::run( $bin, @_ );                                                                     # faster than unshift @_, "php-cgi"; goto &ea_php_cli::run; ?
}

1;