VPS侦探论坛

 找回密码
 注册
12
返回列表 发新帖
楼主: licess

LNMPA 常见问题整理(不定期更新)

[复制链接]
发表于 2011-12-15 00:09:52 | 显示全部楼层

回复 15# 的帖子


Zend  前和后都试了,一样的,网上说APC 和Zend冲突,但lnmp0.7又可以用
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-2-24 19:36:04 | 显示全部楼层


Good Job !!!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-4-27 16:04:33 | 显示全部楼层

lnmp0.9安装问题


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-30 16:46:25 | 显示全部楼层



shopex检测不支持rewrite 如何解决啊?老大
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-5-26 10:09:55 | 显示全部楼层

CentOS6在最小化安装基础上一键安装lnmp好像会失败,缺编译环境。

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

发表于 2012-6-12 11:28:05 | 显示全部楼层

用PUTTY链接出现下面这样子


用PUTTY链接出现下面这样子

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2012-6-18 20:41:57 | 显示全部楼层

nginx 虚拟目录 执行 php 相关配置


请问一下 关于 lnmp 的 vhost 的目录下的 虚拟目录问题  在虚拟目录中执行 php没有输出 , vhost/xx.conf  该怎么配置呀?
  1. server
  2.         {
  3.                 listen       443;
  4.                 server_name www.domain.com;
  5.                 index index.html index.htm index.php default.html default.htm default.php;
  6.                 root  /home/https/;

  7.                 ssl  on;
  8.                 ssl_certificate      ssl/ssl.crt;
  9.                 ssl_certificate_key  ssl/ssl.key;
  10.                 ssl_session_timeout  5m;
  11.                 ssl_protocols  SSLv2 SSLv3 TLSv1;
  12.                 ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
  13.                 ssl_prefer_server_ciphers on;
  14.         
  15. location /abc/
  16.         {
  17.                 alias /home/wwwlogs/;
  18.         }

  19.         location ~ ^/abc/(.*\.php)$
  20.         {
  21.                 alias /home/wwwlogs/$1;
  22.                 fastcgi_pass 127.0.0.1:6000;
  23.                 include fastcgi.conf;
  24.         }

  25.                 include none.conf;
  26.                 location ~ .*\.(php|php5)?$
  27.                         {
  28.                                 fastcgi_pass  unix:/tmp/php-cgi.sock;
  29.                                 fastcgi_index index.php;
  30.                                 fastcgi_param  HTTPS on;
  31.                                 include fcgi.conf;
  32.                         }

  33.                 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
  34.                         {
  35.                                 expires      30d;
  36.                         }

  37.                 location ~ .*\.(js|css)?$
  38.                         {
  39.                                 expires      12h;
  40.                         }

  41.                 access_log off;
  42.         }
  43. server
  44.         {
  45.                 listen       443;
  46.                 server_name user.domain.com;
  47.                 index index.html index.htm index.php default.html default.htm default.php;
  48.                 root  /home/;

  49.                 ssl  on;
  50.                 ssl_certificate      ssl/ssl.crt;
  51.                 ssl_certificate_key  ssl/ssl.key;
  52.                 ssl_session_timeout  5m;
  53.                 ssl_protocols  SSLv2 SSLv3 TLSv1;
  54.                 ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
  55.                 ssl_prefer_server_ciphers on;


  56.                 include none.conf;
  57.                 location ~ .*\.(php|php5)?$
  58.                         {
  59.                                 fastcgi_pass  unix:/tmp/php-cgi.sock;
  60.                                 fastcgi_index index.php;
  61.                                 fastcgi_param  HTTPS on;
  62.                                 include fcgi.conf;
  63.                         }

  64.                 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
  65.                         {
  66.                                 expires      30d;
  67.                         }

  68.                 location ~ .*\.(js|css)?$
  69.                         {
  70.                                 expires      12h;
  71.                         }

  72.                 access_log off;
  73.         }
复制代码

[ 本帖最后由 wap777 于 2012-6-18 20:44 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-8-9 19:10:16 | 显示全部楼层

如何修改LNMPA的网站的家目录

装完LNMPA后,我尝试在NGINX和APACHE的配置文件里修改了网站的家目录,但是重启服务,在访问网站,发现PHP解析是好的,看不到图片了,我将请教下军哥和各位朋友,如何修改默认的家目录/home/wwwroot,除了配置文件的家目录要修改外,要需要怎么修改呢?谢谢!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-9-9 10:31:41 | 显示全部楼层

502 Bad Gateway


PHP 升了一下级,怎么就报02 错误
502 Bad Gateway
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-3-10 09:49:53 | 显示全部楼层

lnmpa升级PHP成功后版本未变




我的lnmpa原PHP版本为5.3.28,现在升级到5.6.6,执行:./upgrade_lnmpa_php.sh   升级的,而且也最后也显示升级成功了~
但是为什么我phpinfo出来PHP还是原来的版本~ 求解决~
发表于 2015-8-18 09:42:12 | 显示全部楼层

全部结束后出现以下内容

============================== Check install ==============================
Checking ...
Error: Nginx install failed.
MySQL: OK
PHP: OK
PHP-FPM: OK
Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.




求解答

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2018-8-27 16:09:58 | 显示全部楼层

likely firewall problem


请问这个要怎么解决呢?
[2018年 08月 27日 星期一 16:01:31 CST] e3.example.com:Verify error:Fetching http://e3.example.com/.well-known/acme-challenge/JK5cUiXk_gPlgIlnkf2nmCUZhnFHRjQag5zriQoEI20: Timeout during connect (likely firewall problem)
[2018年 08月 27日 星期一 16:01:31 CST] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!

================================================
Virtualhost infomation:
Your domain: e3.example.com
Home Directory: /home/wwwroot/e3.example.com
Rewrite: none
Enable log: yes
Create database: no
Create ftp account: no
Enable SSL: yes
  =>Let's Encrypt
================================================
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2018-10-31 13:15:07 | 显示全部楼层

请问在 manjaro系统中怎么才能支持安装lnmp或lnmpa

我现在直接安装是报错
[bililovy-pc lnmp1.5]# ./install.sh lnmpa
Unable to get Linux distribution name, or do NOT support the current distribution.

然后在网上找了一下方法,看到ubuntu有类似的问题,说该一个校验发行版的函数就行,我改了之后  安装好nginx后,其他软件全部都出问题了,全是 install failed
请问能组到支持arclinux的manjaro吗
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-19 11:45 , Processed in 0.030124 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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