Ubuntu

Ubuntu安装Php7.4

71 words
Add PHP PPA Repository sudo apt-get update sudo apt -y install software-properties-common sudo add-apt-repository ppa:ondrej/php # 添加第三方源 sudo apt-get update Install PHP 7.4 on Ubuntu 20.4 sudo apt-get install php7.4 php7.4-fpm php7.4-mysql php7.4-gd php7.4-mbstring # sudo apt-get install php7.4-xxx # sudo apt-get install -y php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip,common} sudo service php7.4-fpm start php -v PHP configurations related to Apache is stored in /etc/php/7.4/apache2/php.ini PHP FPM configuration file is

Ubuntu下安装配置MySQL

569 words
安装MySQL sudo apt update sudo apt-get install mysql-server //服务端 sudo apt-get install mysql-client //客户端 sudo apt-get install libmysqlclient-dev //程序编译时链接的库 服务启动后端口查询 sudo netstat -anp | grep mysql tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1733875/mysqld tcp 0 0 127.0.0.1:33060 0.0.0.0:*

Ubuntu下安装Piwigo

1403 words
首先,通过apt在终端中运行以下命令来确保所有系统软件包都是最新的。 sudo apt update sudo apt upgrade 然后,安装LAMP堆栈。 安装PHP及扩展 sudo apt-get install php php-xml php-mbstring php-gd sudo apt-get install