Server IP : 66.29.132.122 / Your IP : 18.191.174.216 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/home/admazpex/.system/fcgid/ |
Upload File : |
#!/bin/sh DOMAIN_NAME="$1" USER_NAME=`/usr/bin/id -nu` PHP=`which php` DEF_PHP_VER_FILE="`$PHP -v|grep built|cut -d' ' -f2|cut -c1-3`" DEF_MEMORY_FILE="/usr/local/php/conf/default_memory_limit" PHP_VER_FILE="/home/$USER_NAME/.system-php/conf/$DOMAIN_NAME/php_ver" MEMORY_FILE="/home/$USER_NAME/.system-php/conf/$DOMAIN_NAME/memory_limit" #Configure PHP version if [ $DEF_PHP_VER_FILE ]; then DEF_PHP_VER="$DEF_PHP_VER_FILE" else DEF_PHP_VER="5.3" fi if [ -s $PHP_VER_FILE ]; then PHP_VER=`/bin/cat $PHP_VER_FILE` else PHP_VER=$DEF_PHP_VER fi #Configure PHP memory limit if [ -s $DEF_MEMORY_FILE ]; then DEF_MEMORY_LIM=`/bin/cat $DEF_MEMORY_FILE` else DEF_MEMORY_LIM="1G" fi if [ -s $MEMORY_FILE ]; then MEMORY_LIM=`/bin/cat $MEMORY_FILE` else MEMORY_LIM=$DEF_MEMORY_LIM fi PHP_INI_SCAN_DIR="/home/$USER_NAME/.system-php/ini/$PHP_VER/$DOMAIN_NAME/" export PHP_INI_SCAN_DIR PHP_FCGI_CHILDREN=0 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=1000 export PHP_FCGI_MAX_REQUESTS PHP_VER="`tr -d '.' <<< $PHP_VER`" exec /opt/alt/php$PHP_VER/usr/bin/php-cgi -d memory_limit=$MEMORY_LIM