boundnero.blogg.se

Install phpmyadmin for php 7.4
Install phpmyadmin for php 7.4










install phpmyadmin for php 7.4
  1. #Install phpmyadmin for php 7.4 install#
  2. #Install phpmyadmin for php 7.4 update#
  3. #Install phpmyadmin for php 7.4 upgrade#
  4. #Install phpmyadmin for php 7.4 zip#

#Install phpmyadmin for php 7.4 install#

Sed -i "s/ServerSignature On/ServerSignature Off/" /etc/apache2/conf-available/nf If you want XDebug - install it and follow the on-screen instructions Sed -i "s/ServerTokens OS/ServerTokens Prod/" /etc/apache2/conf-available/nf

install phpmyadmin for php 7.4

Tweak Apache settings - let's hide what OS and Webserver this server is running Sed -i "s/ request_terminate_timeout =.*/request_terminate_timeout = 60/" /etc/php/7.4/fpm/pool.d/www.conf Sed -i "s/ date.timezone.*/date.timezone = UTC/" /etc/php/7.4/fpm/php.ini */display_errors = Off/" /etc/php/7.4/fpm/php.ini */error_reporting = E_ALL \& ~E_NOTICE \& ~E_STRICT \& ~E_DEPRECATED/" /etc/php/7.4/fpm/php.ini Please note: We are suppressing PHP error output here by setting these options to production values Sed -i "s/ date.timezone.*/date.timezone = UTC/" /etc/php/7.4/cli/php.ini Configure sessions directory permissionsĬhmod +t /var/lib/php/sessions Install Apache and PHP-FPMĪpt-get install -y apache2 apache2-utils php7.4-fpm */display_errors = On/" /etc/php/7.4/cli/php.ini */error_reporting = E_ALL/" /etc/php/7.4/cli/php.ini

#Install phpmyadmin for php 7.4 update#

Systemctl restart memcached Update PHP CLI configuration Mv composer.phar /usr/local/bin/composer Install and configure Memcached Sed -i "s/#ClientAliveCountMax 3/ClientAliveCountMax 3/" /etc/ssh/sshd_config Install PHP7.4 and common PHP packagesĪpt-get install -y php7.4-cli php7.4-dev php7.4-pgsql php7.4-sqlite3 php7.4-gd php7.4-curl php7.4-memcached php7.4-imap php7.4-mysql php7.4-mbstring php7.4-xml php7.4-imagick php7.4-zip php7.4-bcmath php7.4-soap php7.4-intl php7.4-readline php7.4-common php7.4-pspell php7.4-tidy php7.4-xmlrpc php7.4-xsl php7.4-opcache php7.4-apcu Sed -i "s/#ClientAliveInterval 0/ClientAliveInterval 60/" /etc/ssh/sshd_config Sed -i "s/#TCPKeepAlive yes/TCPKeepAlive yes/" /etc/ssh/sshd_config If you want the SSH Daemon to keep your connections alive, you can run the following commands: Ln -sf /usr/share/zoneinfo/UTC /etc/localtime Set SSH to KeepAlive

#Install phpmyadmin for php 7.4 zip#

Add some PPAs to stay currentĪpt-get install -y software-properties-commonĪdd-apt-repository 'deb focal main'Īpt-get update apt-get install -y build-essential curl nano wget lftp unzip bzip2 arj nomarch lzop htop openssl gcc git binutils libmcrypt4 libpcre3-dev make python3 python3-pip supervisor unattended-upgrades whois zsh imagemagick uuid-runtime net-tools zip dirmngr apt-transport-https Set the timezone to UTC We choose the port range 50000->50099 in order to allow passive FTP connections. # Skip the following 3 lines if you do not plan on using FTP

#Install phpmyadmin for php 7.4 upgrade#

Install fail2ban and enable firewallĪpt-get update apt-get upgrade -y apt-get install -y fail2ban ufw Please note: There may be breaking changes between PHP 7.2/7.3 and 7.4. Based on on-going experience and community feedback we tweak our stacks and keep this document continuously updated. By provisioning a base Ubuntu Focal image, and following these steps exactly, you would be able to duplicate our server image. This document details how we've set up our Ubuntu LAMP (Linux Apache Mysql and PHP) 7.4 stack.












Install phpmyadmin for php 7.4