惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
V
Visual Studio Blog
P
Privacy International News Feed
月光博客
月光博客
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
Lohrmann on Cybersecurity
N
News and Events Feed by Topic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
Webroot Blog
Webroot Blog
T
Threatpost
宝玉的分享
宝玉的分享
The Last Watchdog
The Last Watchdog
小众软件
小众软件
L
LINUX DO - 最新话题
C
Cisco Blogs
T
Troy Hunt's Blog
Schneier on Security
Schneier on Security
酷 壳 – CoolShell
酷 壳 – CoolShell
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
G
GRAHAM CLULEY
有赞技术团队
有赞技术团队
Know Your Adversary
Know Your Adversary
博客园 - 叶小钗
罗磊的独立博客
V
V2EX
博客园 - Franky
P
Proofpoint News Feed
SecWiki News
SecWiki News
腾讯CDC
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
博客园 - 三生石上(FineUI控件)
S
Secure Thoughts
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
PCI Perspectives
PCI Perspectives
V2EX - 技术
V2EX - 技术
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
aimingoo的专栏
aimingoo的专栏
Cisco Talos Blog
Cisco Talos Blog
N
News and Events Feed by Topic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题

博客园 - 师太

10个月没来了。。。 跑在路上 phplib多行多列(嵌套block) 看内容 泪水模糊双眼 [PHP]找了半天的自动转义问题 我在反省 We are not yong any more! 挫败感 我等你炒我鱿鱼还是我先炒你鱿鱼? 让暴风雨来得更猛烈些吧 个人感言 PHP 框架 推荐: MindManager(思维导图) 推荐: MicroOLAP Database Designer for MySQL 一个人的战役 春节 hard hard hard Oyeme(最近迷上了这一首歌)
linux上安装php+oci的一些总结
师太 · 2008-04-03 · via 博客园 - 师太

虽然最后还是没有安装上这个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不在本地服务器,远程连接的,只需要在本地安装客户端的文章。

总结完毕!