nginx+php+navicat http通道连接
1.安装php
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?.*$ {
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.测试是否成功
6.通过navicat连接
相关推荐
Noneyes 2020-11-10
zyyjay 2020-11-09
xuebingnan 2020-11-05
samtrue 2020-11-22
stefan0 2020-11-22
yifangs 2020-10-13
songshijiazuaa 2020-09-24
hebiwtc 2020-09-18
天步 2020-09-17
83911535 2020-11-13
whatsyourname 2020-11-13
zhouyuqi 2020-11-10
mathchao 2020-10-28
王志龙 2020-10-28
wwwsurfphpseocom 2020-10-28
diskingchuan 2020-10-23
savorTheFlavor 2020-10-23