📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
home4
/
cvysxmmy
/
public_html
/
barriecorewellness.ca
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
blogs
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
img
-
0755
🗑️
🏷️
🔒
📁
mt_images
-
0755
🗑️
🏷️
🔒
📁
test
-
0755
🗑️
🏷️
🔒
📁
tmp
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
2 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess.phpupgrader.21100a0f
0.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess.phpupgrader.initial
0.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
LEGGIMI.txt
0.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
backup-barriecore_dreamstoreality_ca-2014_03_24-full-mf6zx4edh7.zip
46075.72 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
226869.9 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
favicon.ico
17.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
importbuddy.php
2412.95 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index (1).php
12.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
licencia.txt
17.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
licens-sv_SE.txt
13.95 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
licens.html
22.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
licenza.html
24.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
liesmich.html
8.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lisenssi.html
21.29 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme-ja.html
3.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
seiso.php
53.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ss.php
12.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.5 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cli.yml
0.03 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
3.59 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
4 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
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-trackback.php
5.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xjq.txt
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
3.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: set_php_memory_limits
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - scripts/set_php_memory_limits Copyright 2022 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 scripts::set_php_memory_limits; use strict; use warnings; use Getopt::Long (); use Cpanel::Sys::Hardware::Memory (); use Whostmgr::API::1::Lang::PHP (); use Cpanel::Imports; use Data::Dumper; our $gsw_message_dir = '/var/cpanel/gsw_messages'; our $message_caller_depth = 1; exit( run(@ARGV) ) if !caller(); sub run { my @args = @_; my ( $run, $gsw ); Getopt::Long::GetOptionsFromArray( \@args, "run" => \$run, "gsw" => \$gsw, ); if ( not( $run or $gsw ) ) { die qq{Must pass "--run" flag to execute script.\nThis script will adjust the memory_limit setting for all cPanel PHPs installed in /opt/cpanel/ to a reasonable setting based on the servers available memory.\n}; } # We want to raise the PHP memory_limit if possible in regards to the amount of installed memory they have on the system my $installed_memory = eval { Cpanel::Sys::Hardware::Memory::get_installed(); }; my ( $mid_mem, $high_mem ) = qw( 2000 4000 ); my $set_memory; if ( $installed_memory < $mid_mem ) { $set_memory = '32M'; } elsif ( ( $installed_memory >= $mid_mem ) && ( $installed_memory < $high_mem ) ) { $set_memory = '64M'; } elsif ( $installed_memory >= $high_mem ) { $set_memory = '128M'; } eval { my $installed_versions = Whostmgr::API::1::Lang::PHP::php_get_installed_versions(); my $bytes = $installed_memory * 1024 * 1024; # Cpanel::Sys::Hardware::Memory is MiB if ($gsw) { create_gsw_message( "php_memory_limit", "[% locale.maketext('We changed the webserver’s PHP “[output,strong,_1]” directive to “[_2]” to better support your server’s [format_bytes,_3] of memory.', 'memory_limit', '$set_memory', '$bytes') %]\n", "[% locale.maketext('You can change it at anytime via the [output,url,_1,MultiPHP INI Editor in WHM,target,_blank].', '../scripts2/multiphp_ini_editor') %]\n" ); } foreach my $php_version ( @{ $installed_versions->{versions} } ) { my $metadata = {}; Whostmgr::API::1::Lang::PHP::php_ini_set_directives( { version => $php_version, directive => "memory_limit:$set_memory" }, $metadata ); logger->info("The memory limit for $php_version has been set to $set_memory based on the servers installed memory ($installed_memory MiB)"); if ( !$metadata->{'result'} ) { logger->error("There was a problem setting the memory_limit in your php.ini files.\n"); } } }; return 0; } sub create_gsw_message { my ( $name, @lines ) = @_; # check for non words if ( $name =~ /\W/ ) { logger->warn("'$name' is not valid as a GSW message filename.\n"); return; } # create the directory for custom Getting Started Wizard message tt files if ( !-e $gsw_message_dir ) { mkdir $gsw_message_dir, 0755; } if ( open( my $fh, ">", "$gsw_message_dir/$name.tt" ) ) { foreach my $line (@lines) { # concat anything passed into the subroutine. print {$fh} $line; } close $fh; } else { logger->warn("Could not write to GSW message directory: $!"); return; } return 1; } 1;
Save