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

推荐订阅源

S
Secure Thoughts
Security Latest
Security Latest
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
GbyAI
GbyAI
L
LINUX DO - 最新话题
A
Arctic Wolf
T
Tor Project blog
G
GRAHAM CLULEY
I
InfoQ
博客园_首页
IT之家
IT之家
The Register - Security
The Register - Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
K
Kaspersky official blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
U
Unit 42
PCI Perspectives
PCI Perspectives
量子位
P
Palo Alto Networks Blog
S
Securelist
T
Troy Hunt's Blog
博客园 - 【当耐特】
Recorded Future
Recorded Future
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
Engineering at Meta
Engineering at Meta
T
The Blog of Author Tim Ferriss
博客园 - 聂微东
罗磊的独立博客
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
NISL@THU
NISL@THU
C
Cisco Blogs
T
Threatpost
有赞技术团队
有赞技术团队
Forbes - Security
Forbes - Security
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
T
The Exploit Database - CXSecurity.com
Cloudbric
Cloudbric
Cyberwarzone
Cyberwarzone
Google DeepMind News
Google DeepMind News
C
Cyber Attacks, Cyber Crime and Cyber Security

博客园 - 心雨无痕

升级openssl和openssh linux配置LVM 杂七杂八 .net程序包含webbrowser插件时遇到的各种问题 mysql连接远程服务器很慢的解决方法 centos配置nfs杂七杂八 iptables配置网络端口转发 桥接模式 适配器模式 单例模式 原型模式 工厂方法模式 简单工厂模式 建造者模式 ActionScript中Object和Dictionary的区别 FlashBuilder4.5破解方法 抽象工厂模式 设计模式浅见 了解下常见的开源协议
centos安装php需要注意的问题
心雨无痕 · 2013-06-18 · via 博客园 - 心雨无痕

1. 源码安装php时需要添加configure的编译参数有--enable-fpm, 必须加了这个参数才会有php-fpm这个启动脚本产生

2. 如果需要支持mysql, 需要在configure的编译参数中添加 --with-mysql, 如果添加此参数后configure失败, 提示找不到libmysqlclient, 那么首先确认你的系统是否是64位, 如果是64位, 那么检查/usr/lib64/或者/usr/lib64/mysql下有无libmysqlclient.so.xx.0.0此文件(xx表示版本号, 比如现在最新的是16), 如果有, 那么添加该文件的软链接到/usr/lib/或者/usr/lib/mysql(哪个目录和原本文件所在目录对应, 只是把lib64或者lib) , 链接文件名为libmysqlclient.so, 如下面所示:

        ln -s /usr/lib64/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so

     如果/usr/lib64和/usr/lib64/mysql下面都无此文件, 那么安装mysql-devel, 要安装和你所装mysql数据库版本相同的安装包才可以, yun install的貌似版本比较低, 网易的mirror貌似也才是5.1版本的mysql, 如果yum版本太低, 那么可以到dev.mysql.com下载对应rpm包(注意, 64位系统下载x86_64版本的), 安装完毕之后再按照上述做软链接, 再configure即可.