[视频教程] ubuntu系统下安装最新版PHP7.3.X环境
视频地址:
https://www.bilibili.com/video/av69088870/
笔记:
先安装一下这个命令 add-apt-repository
apt-get install software-properties-common
添加第三方源:
add-apt-repository ppa:ondrej/php
apt-get update
安装php:
apt-get install php
apt-get install php-fpm
service php7.3-fpm start
php -v
nginx配置文件中注意的点,一旦遇到"Primary script unknown",检查下面三个地方:
root /usr/share/nginx/html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
server { listen 80; server_name 127.0.0.1; access_log /var/log/nginx/default.access.log main; error_log /var/log/nginx/default.error.log; root /usr/share/nginx/html; location / { index index.html index.htm; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
php-fpm配置文件中注意的点:
listen = 127.0.0.1:9000
十年开发经验程序员,离职全心创业中,历时三年开发出的产品《唯一客服系统》
一款基于Golang+Vue开发的在线客服系统,软件著作权编号:2021SR1462600。一套可私有化部署的网站在线客服系统,编译后的二进制文件可直接使用无需搭开发环境,下载zip解压即可,仅依赖MySQL数据库,是一个开箱即用的全渠道在线客服系统,致力于帮助广大开发者/公司快速部署整合私有化客服功能。
开源地址:唯一客服(开源学习版)
官网地址:唯一客服官网