auto
  7   ˆƒ¬‡_•I|¥‰ÓMdœv ©ƒ&íK<óo¬a–Ðz¾””ÔD¨ 	ÅÕÁ=pBS�ÿÂ Ã    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>Index of /FSS-OZR/root/sys/devices/virtual/tty/tty8/subsystem/tty29/power</title>
 </head>
 <body>
<h1>Index of /FSS-OZR/root/sys/devices/virtual/tty/tty8/subsystem/tty29/power</h1>
  <table>
   <tr><th valign="top">&nbsp;</th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr>
   <tr><th colspan="5"><hr></th></tr>
<tr><td valign="top">&nbsp;</td><td><a href="/FSS-OZR/root/sys/devices/virtual/tty/tty8/subsystem/tty29/">Parent Directory</a>       </td><td>&nbsp;</td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="autosuspend_delay_ms">autosuspend_delay_ms</a>   </td><td align="right">2026-10-12 10:28  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="control">control</a>                </td><td align="right">2026-10-12 10:28  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="runtime_active_time">runtime_active_time</a>    </td><td align="right">2026-10-12 10:28  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="runtime_status">runtime_status</a>         </td><td align="right">2026-10-12 10:28  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="runtime_suspended_time">runtime_suspended_time</a> </td><td align="right">2026-10-12 10:28  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
   <tr><th colspan="5"><hr></th></tr>
</table>
</body></html>
  "   	ˆl–Ãa¾”ªClÊq@†ãNÜÅ£Áƒe×¿Ã ²    	#!/usr/local/cpanel/3rdparty/bin/perl

#                                      Copyright 2026 WebPros International, LLC
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited.

package scripts::show_php_settings;

use cPstrict;
use Getopt::Long;

use Cpanel::Config::userdata ();
use Cpanel::PHP::Config      ();
use Cpanel::PHP::Vhosts      ();
use Cpanel::ProgLang         ();

sub usage ( $err_msg = undef ) {

    if ( defined $err_msg ) {
        say "Error: $err_msg\n";
    }

    print <<"END_MESSAGE";
Usage: $0 [--help|-h]
Show the PHP settings for all users and domains.

See also /usr/local/cpanel/scripts/mass_change_php_setting

    mass_change_php_setting allows you to change all users with a specific PHP version to another version.

END_MESSAGE
    exit 1;
}

sub script () {

    say "Showing PHP settings for all users and domains.";

    my $php                = Cpanel::ProgLang->new( 'type' => 'php' );
    my $system_php_version = $php->get_system_default_package();

    say "System default PHP version: $system_php_version";

    my @users    = Cpanel::Config::userdata::load_user_list();
    my $versions = Cpanel::PHP::Vhosts::get_php_vhost_versions_from_php_config( Cpanel::PHP::Config::get_php_config_for_users( \@users ) );

    printf( "%-15s %-30s %-10s %-5s %s\n", "User", "Vhost", "Current", "FPM", "System Default?" );

    my @lines;
    foreach my $domain (@$versions) {
        my $user        = $domain->{account};
        my $vhost       = $domain->{vhost};
        my $current_ver = $domain->{version};
        my $php_fpm     = $domain->{php_fpm};

        my $is_default = 0;
        $is_default = 1 if ( exists( $domain->{phpversion_source}->{system_default} ) );

        push( @lines, sprintf( "%-15s %-30s %-10s %-5s %s\n", $user, $vhost, $current_ver, $php_fpm, ( $is_default ? '(system default)' : '' ) ) );
    }

    print sort @lines;

    return 0;
}

# Modulino behavior
unless (caller) {
    my $help;

    my $ok = GetOptions(
        'help|h' => \$help,
    );

    if ( !$ok ) {
        e