VPS侦探论坛

 找回密码
 注册
查看: 3913|回复: 8

lnmp脚本版安装完如何找到phpini配置

[复制链接]
发表于 2019-5-27 16:20:18 | 显示全部楼层 |阅读模式

linux下使用lnmp一键安装包(下载版)安装完后建立起虚拟主机,找不到phpini文件,安装目录下找不到php mysql nging 安装目录。是下载版没有吗还是什么,请大神指教,第一次搭建请指教。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-5-27 16:21:02 | 显示全部楼层


ubuntu下的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-5-27 17:46:30 | 显示全部楼层

不清楚你去哪个目录找的,官网上有明确各个文件位置的说明:https://lnmp.org/faq/lnmp-software-list.html
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-5-27 20:41:45 | 显示全部楼层



找到后都应该配置什么呢
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-5-28 09:04:30 | 显示全部楼层

qwer1234 发表于 2019-5-27 20:41
找到后都应该配置什么呢

大部分情况下不需要更改,直接用就可以
如果自己需要配置,那就要看你自己要改什么配置了

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2019-5-28 15:15:05 | 显示全部楼层

licess 发表于 2019-5-28 09:04
大部分情况下不需要更改,直接用就可以
如果自己需要配置,那就要看你自己要改什么配置了 ...

打开phpiiini扩展
 楼主| 发表于 2019-5-28 15:16:30 | 显示全部楼层


怎么打开,还有就是显示Create Virtul Host directory......
touch: cannot touch '/home/wwwlogs//home/wwwlogs.log': No such file or directory
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/none.conf
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: [emerg] open() "/home/wwwlogs//home/wwwlogs.log" failed (2: No such file or directory)
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Reload Nginx......
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
Gracefully shutting down php-fpm . done
Starting php-fpm  done
Add database Sucessfully.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-5-28 20:30:16 | 显示全部楼层

没听说有名字叫phpini扩展的,你要安装什么php程序?
lnmp vhost add 添加虚拟主机过程中,除了网站目录是绝对路径,其他的日志、伪静态之类的都是文件名,你这上面全写的全路径肯定是会报错的,日志、伪静态这些路径都是固定的,除非自己修改配置文件并创建好
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-5-28 20:43:26 | 显示全部楼层


我是来学习的

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-8 08:37 , Processed in 0.028350 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表