nginx+php+navicat http通道连接
2021-06-05 04:01
标签:local res info 通过 ati fas php-mysql mysql mysq 6.通过navicat连接 nginx+php+navicat http通道连接 标签:local res info 通过 ati fas php-mysql mysql mysq 原文地址:https://blog.51cto.com/5535123/2472443
yum install php php-fpm php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc -y
2.上传ntunnel_mysql.php 到 Linux指定位置
ntunnel_mysql.php通过navicat安装目录下获取
上传到Linux /usr/local/nginx/html目录下
3.配置nginx
location ~ .php?.*$ {
root /usr/local/nginx/html/;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
4.重启php-fpm ,nginx
systemctl restart php-fpm nginx
5.测试是否成功
文章标题:nginx+php+navicat http通道连接
文章链接:http://soscw.com/index.php/essay/90697.html