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

  在虚拟机下:系统:centOS5 i386 i686
  configure:error : c++ preprocessor "/lib/cpp" faid sanity check
 表示 C++编译器的package未安装:运行 yum install glibc-headers    yum 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 install libxml2-devel
  
  在启动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为保存并退出命令

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

对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不在本地服务器,远程连接的,只需要在本地安装客户端的文章。

总结完毕!