VPS侦探论坛

 找回密码
 注册
查看: 4692|回复: 1

lnmp php没有安装成功

[复制链接]
发表于 2014-10-26 23:54:42 | 显示全部楼层 |阅读模式

Starting LNMP...Starting nginx... nginx (pid 19854 19853 19852) already running./root/lnmp: line 37: /etc/init.d/php-fpm: No such file or directoryStarting MySQL SUCCESS!

本帖子中包含更多资源

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

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


configure: error: mcrypt.h not found. Please reinstall libmcrypt.
看日志是这个错误
cd /root/lnmp1.1-full/php-5.3.28/
ln -s /usr/local/include/mcrypt.h /usr/include/
后ldconfig一下
再./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --disable-fileinfo 执行看看还报错吧
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-24 11:26 , Processed in 0.026079 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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