| Server IP : 159.253.20.91 / Your IP : 216.73.216.111 Web Server : nginx/1.20.2 System : Linux se38c9e53.fastvps-server.com 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 User : pr11_ru_usr ( 1041) PHP Version : 8.1.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/lib/dpkg/info/ |
Upload File : |
#!/bin/bash
if [ -z "$2" ]; then
for extension in bcmath bz2 curl exif gd gettext intl mbstring memcached mysqli opcache pcntl pdo_mysql pdo_pgsql shmop soap sockets xsl zip; do
if [ ! -f /opt/php81/conf.d/$extension.ini ]; then
ln -s /opt/php81/mods-available/$extension.ini /opt/php81/conf.d/$extension.ini
fi
done
fi
systemctl daemon-reload
systemctl enable fp2-php81-fpm
if systemctl -q is-active fp2-php81-fpm.service ; then
systemctl reload fp2-php81-fpm.service
else
systemctl start fp2-php81-fpm.service
fi
if systemctl -q is-active apache2.service ; then
systemctl reload apache2.service
fi