lnmp php没有安装成功
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! 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 执行看看还报错吧
页:
[1]