登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

baikgd的博客

技术是工具,生活是目的,更好的生活是目标!

 
 
 

日志

 
 

httpd 启动出错,php 64位链接出错  

2011-03-02 14:35:50|  分类: 工作日志 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

[root@www lib]# php -i | more
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ldap.so' - /usr/lib/php/modules/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysqli.so' - /usr/lib/php/modules/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo.so' - /usr/lib/php/modules/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_mysql.so' - /usr/lib/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_pgsql.so' - /usr/lib/php/modules/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_sqlite.so' - /usr/lib/php/modules/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - /usr/lib/php/modules/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
phpinfo()
PHP Version => 5.1.6

[root@www lib]# rpm -qi --filesbypkg php-mysql
Name : php-mysql Relocations: (not relocatable)
Version : 5.1.6 Vendor: CentOS
Release : 12.el5 Build Date: Tue 08 May 2007 06:41:14 PM CDT
Install Date: Thu 10 May 2007 03:27:55 PM CDT Build Host: builder6
Group : Development/Languages Source RPM: php-5.1.6-12.el5.src.rpm
Size : 198955 License: The PHP License v3.01
Signature : DSA/SHA1, Wed 09 May 2007 04:25:34 AM CDT, Key ID a8a447dce8562897
URL : http://www.php.net/
Summary : A module for PHP applications that use MySQL databases.
Description :
The php-mysql package contains a dynamic shared object that will add
MySQL database support to PHP. MySQL is an object-relational database
management system. PHP is an HTML-embeddable scripting language. If
you need MySQL support for PHP applications, you will need to install
this package and the php package.
php-mysql /etc/php.d/mysql.ini
php-mysql /etc/php.d/mysqli.ini
php-mysql /etc/php.d/pdo_mysql.ini
php-mysql /usr/lib64/php/modules/mysql.so
php-mysql /usr/lib64/php/modules/mysqli.so
php-mysql /usr/lib64/php/modules/pdo_mysql.so


Just a friendly note if you were like me and recently ran the yum update and found that your mysql driven websites no longer work.


A temporary fix that I made to get me running again was to create a soft link

ln -s /usr/lib64/php /usr/lib/php


  评论这张
 
阅读(1576)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018