首页 > Web开发 > 详细

安装php

时间:2021-02-08 23:27:35      阅读:35      评论:0      收藏:0      [点我收藏+]

root@hecs-x-medium-2-linux-20200619090653:~# apt-get install php-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
php7.4-fpm
Suggested packages:
php-pear
The following NEW packages will be installed:
php-fpm php7.4-fpm
0 upgraded, 2 newly installed, 0 to remove and 59 not upgraded.
Need to get 1,436 kB of archives.
After this operation, 4,873 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu

 

root@hecs-x-medium-2-linux-20200619090653:~# systemctl status php7.4-fpm
● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-02-08 22:44:26 CST; 49s ago
Docs: man:php-fpm7.4(8)
Process: 15619 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/7.4/fpm/pool.d/www.conf 74 (code=exited, status=0/SUCCESS)
Main PID: 15614 (php-fpm7.4)
Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0req/sec"
Tasks: 3 (limit: 2281)
Memory: 6.8M
CGroup: /system.slice/php7.4-fpm.service
├─15614 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf)
├─15617 php-fpm: pool www
└─15618 php-fpm: pool www

安装php

原文:https://www.cnblogs.com/wbwj/p/14391389.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!