CentOS install服务器安装运行

系统 Linux
在正式服务器下,为什么一直没有安装成功,原因在:64bit Linux 对oci8的php5.2.4还不支持(可手动修改)。据说6就支持了。CentOS install成功后发现还是没有这个模组。那还是看看老外们对64位的安装办法吧:http://php.chinaunix.net/manual/zh/ref.oci8.php

对大家推荐很好使用的CentOS install系统,像让大家对CentOS install系统有所了解,然后对CentOS install系统全面讲解介绍,希望对大家有用虽然最后还是没有安装上这个oci模组,但是也得把这几天来学的总结一下:

在正式CentOS install服务器下,为什么一直没有安装成功,原因在:64bit Linux 对oci8的php5.2.4还不支持(可手动修改)。据说6就支持了。CentOS install成功后发现还是没有这个模组。那还是看看老外们对64位的安装办法吧:http://php.chinaunix.net/manual/zh/ref.oci8.php

在虚拟机下:系统:centOS5 i386 i686configure:error : c++ preprocessor "/lib/cpp" faid sanity check 表示 C++编译器的package未安装:运行 yum CentOS install glibc-headersyum install gcc-c++

No accecptable c compiler found in $PATH:表示没有安装gcc组件: 运行 yum install gcc
configure:error : xml2-config not found,please check your libxml2 installation:

运行 yum CentOS install libxml2-devel

CentOS install在启动apache的时候:apache: /libphp5.so:cannot restore segment prot after reloc: permission denied是因为selinux导致的,运行 yum update selinux-policy-targeted 升级或者在selinux文件夹中找config文件,将里面的一个参数改成disable如果还是不能启动,就重启电脑。

vi中:Esc键:非编辑状态,可输入需要的字符串进行查找i键:输入状态可输入如:wq为保存并退出命令

  1. netstart -tulpn|grep:80 查看80端口运行的服务  
  2. killall -9 http 杀http协议(好像是这样的意思)  
  3. dmesg 或者 cat /proc/cpuinfo 查看机器的硬件信息 

CentOS install对make还需要深入了解一下,这里就不多写了。

安装参考:
http://php.chinaunix.net/manual/zh/ref.oci8.php 主要还是看评论了
http://www.oracle.com/technology/global/cn/pub/notes/technote_php_instant.html中文版
http://www.oracle.com/technology/pub/notes/technote_php_instant.html英文版 -- 最后多了一点讲php5的配置
http://ubuntuforums.org/showthread.php?t=637158另一种办法的安装
http://hi.baidu.com/luoyeguigen/blog/item/4d8e5543823523159213c6e6.html 只有linux+php的,没有讲oci
http://blog.csdn.net/yown/archive/2007/08/14/1742625.aspx同上
http://bugs.php.net/bug.php?id=41941 oci8对操作系统是x64位的支持,
php的下一个版本才支持:Fixed in PHP 5.2.6, 5.3 and 6.Support for Oracle-provided, 64bit Linux RPMs has been added(有手动修改的patch)这些oci的文章的安装只是针对oracle不在本地服务器,远程连接的,只需要在本地安装客户端的文章。

【编辑推荐】

  1. CentOS Firefox针对特定的处理器进行优
  2. CentOS LAMP环境搭建和测试php与mysql的连接
  3. Centos 5服务器虚拟设置配置fms
  4. CentOS SOAP扩展模块触发Service端执行相应的操作
  5. CentOS Nginx服务器配置nginx.conf
责任编辑:佚名 来源: csdn
相关推荐

2011-03-21 14:53:26

Ubuntu安装Nagios

2011-03-25 14:13:07

2012-11-02 10:36:38

Ubuntu 12.1

2010-01-15 17:35:09

2010-02-23 14:35:48

CentOS vsft

2015-12-11 13:16:10

CentOS 7Redis服务器

2010-02-03 16:53:58

CentOS yum

2011-11-21 13:46:33

2015-02-03 03:00:51

CentOSJetty

2010-08-03 15:53:07

CentOSNFS服务器

2010-03-31 10:05:40

CentOS Samb

2010-03-31 14:17:03

CentOS系统

2010-03-24 10:32:09

CentOS服务器

2010-02-23 10:39:56

CentOS 4.5

2022-02-21 08:31:49

Centos8Caddy Web服务器

2021-07-14 14:19:37

iPadWindows 3.1应用程序

2009-08-19 13:57:13

telnet服务器配置

2011-07-12 17:42:24

2010-01-04 13:26:51

Ubuntu安装

2010-08-26 22:01:47

DHCP服务器
点赞
收藏

51CTO技术栈公众号