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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

博客园 - 师太

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

总结完毕!