[LTMP搭建] Centos 6.5 安装配置 PHP

接上篇:http://www.cnblogs.com/antarctican/p/3748427.html (安装Mysql)

下载PHP。 我选择了日本线路,比内地和台湾线路快得多。


[[email protected] src]# wget -c http://jp2.php.net/distributions/php-5.3.28.tar.gz

4. 安装 tengine 2.0.4

查看 version时, 提示 libssl.so.1.0.0 找不到

?





1

2

[[email protected] tengine]# sbin/nginx -V

sbin/nginx: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

  ldd 查看 ,为 not found

?





1

2

3

4

5

6

7

8

9

10

11

12

[[email protected] tengine]# ldd sbin/nginx

    linux-gate.so.1 =>  (0x00880000)

    libpthread.so.0 => /lib/libpthread.so.0 (0x00f05000)

    libdl.so.2 => /lib/libdl.so.2 (0x001ef000)

    libcrypt.so.1 => /lib/libcrypt.so.1 (0x00a0b000)

    libpcre.so.0 => /lib/libpcre.so.0 (0x00c21000)

    libssl.so.1.0.0 => not found

    libcrypto.so.1.0.0 => not found

    libz.so.1 => /lib/libz.so.1 (0x001f4000)

    libc.so.6 => /lib/libc.so.6 (0x00208000)

    /lib/ld-linux.so.2 (0x00d5b000)

    libfreebl3.so => /lib/libfreebl3.so (0x00748000)

  这时在  /etc/ld.so.conf.d/ 新建一个.conf 的文件,内容为 libssl 的位置:

?





1

[[email protected] tengine]# cd /etc/ld.so.conf.d

?





1

[[email protected]]# touch www-libs.conf             // *.conf 自动载入

?





1

[[email protected]]# echo ‘/usr/local/lib‘ > www-libs.conf    // 注:/usr/local/lib 为我 libssl.so.1.0.0 的位置

?





1

[[email protected]]# ldconfig

  现在可以看到 nginx的版本及模块信息了

[LTMP搭建] Centos 6.5 安装配置 PHP,布布扣,bubuko.com

时间: 2024-12-08 16:45:08

[LTMP搭建] Centos 6.5 安装配置 PHP的相关文章

[LTMP搭建] Centos 6.5 安装 Mysql

接上篇: http://www.cnblogs.com/antarctican/p/3714422.html 一. 安装 Mysql 5.1.73.  官方:http://dev.mysql.com/downloads/file.php?id=450523 http://cdn.mysql.com/Downloads/MySQL-5.1/mysql-5.1.73-linux-i686-glibc23.tar.gz 4. 安装 tengine 2.0.4 查看 version时, 提示 libss

CentOS 6.3安装配置LAMP服务器(Linux+Apache+MySQL+PHP5)

服务器系统环境:CentOS 6.3 客户端系统环境:Windows 7 ultimate(x86)sp1 简体中文旗舰版 ※  本文档描述了如何在Linux服务器配置Apache.Mysql.PHP5 LAMP(Linux-Apache-MySQL-PHP)网站架构是目前国际流行的Web框架,该框架包括:Linux操作系统,Apache网络服务器,MySQL数据库,Perl.PHP或者Python编程语言,所有组成产品均是开源软件,是国际上成熟的架构框架,很多流行的商业应用都是采取这个架构,和

CentOS下NTP安装配置

安装yum install ntp 配置文件 /etc/ntp.confrestrict default kod nomodifynotrap nopeer noqueryrestrict -6 default kod nomodify notrap nopeer noqueryrestrict 127.0.0.1restrict -6 ::1# 用restrict控管权限# nomodify - 用户端不能更改ntp服务器的时间参数# noquery - 用户端不能使用ntpq,ntpc等命令

CentOS 6.5安装配置LNMP服务器(Nginx+PHP+MySQL)

CentOS 6.5安装配置LNMP服务器(Nginx+PHP+MySQL) 一.准备篇: 1 /etc/init.d/iptables stop #关闭防火墙 2 关闭SELINUX 3 vi /etc/selinux/config 4 #SELINUX=enforcing #注释掉 5 #SELINUXTYPE=targeted #注释掉 6 SELINUX=disabled #增加 7 :wq 8 shutdown -r now #重启系统 二.安装篇 1.安装nginx 1 yum re

CentOS 7.0安装配置Vsftp服务器步骤详解

安装Vsftp讲过最多的就是在centos6.x版本中了,这里小编看到有朋友写了一篇非常不错的CentOS 7.0安装配置Vsftp服务器教程,下面整理分享给各位. 一.配置防火墙,开启FTP服务器需要的端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙. 1.关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止

CentOS 7.0安装配置LAMP服务器(Apache+PHP+MariaDB)

原文 CentOS 7.0安装配置LAMP服务器(Apache+PHP+MariaDB) 一.配置防火墙,开启80端口.3306端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙. 1.关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 2.安装iptables防火墙 yum insta

Centos 6.4安装配置apache平台的svn服务器

一.安装apache.subversion服务 #yum install httpd subversion subversion-devel mod_dav_svn -y 二.配置apache服务器 # sed '{/^$/d;/#/d}' /etc/httpd/conf/httpd.conf ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 60 KeepAlive Off MaxKeepAli

CentOS下Redisserver安装配置

1.CentOS 6.6下Redis安装配置记录 2.CentOS下Redisserver安装配置

CentOS 7.x安装配置

简述 VMware可以创建多个虚拟机,每个虚拟机上都可以安装各种类型的操作系统.安装方法也有很多种.下面,主要以ISO镜像安装为例,介绍CentOS 7.x的安装过程及相关的参数设置. 简述 创建虚拟机 安装CentOS 重启 更多参考 创建虚拟机 打开VMware,单击右侧的[创建新虚拟机]选项,开始创建虚拟机. 选择[稍后安装操作系统],单击[下一步]按钮. 选择要在虚拟机上安装的[客户机操作系统]及对应的[版本],选择"Linux"与"CentOS"(注意:如