安装pdo遇到的怪问题:系统不认php版本
时间:2010-03-15
来源:互联网
pecl/PDO requires PHP (version >= 5.0.3), installed version is 4.4.2-1.1
可我的php是5,16的,怎么会出现这种情况?
请大侠们指点.
谢谢.
作者: biadlo 发布时间: 2010-03-15
作者: scyzxp 发布时间: 2010-03-15
作者: biadlo 发布时间: 2010-03-16
作者: scyzxp 发布时间: 2010-03-16
according to your imformation report,you have installed php4 on your server.please check your php release again with this command.
php-config --version
after executing "php-config --version","4" appears.it denotes that you have installed php 4 in your server.please uninstall php4 in your server,and then reconfigure your correlative programme.
gook luck to you.
作者: todayhero 发布时间: 2010-03-16
First thanks for your advice.
I check the version accroding to your method, but it only shows the version is 5.1.6. no php4 appears. How could I do now?
作者: biadlo 发布时间: 2010-03-16
http://www.developpez.net/forums ... serveur-php-apache/
this maybe help you.but this page doesn't written in english.you try again.
if you could not do you should read correlative manual to get help.
作者: todayhero 发布时间: 2010-03-16
作者: todayhero 发布时间: 2010-03-16
still can't solve the problem. anyway, thank you for your help.
作者: biadlo 发布时间: 2010-03-16
作者: badb0y 发布时间: 2010-03-16
php应该是apt-get的(以前的同事做的,好几年了),但我看到/usr/lib/里有php4目录,但检查版本始终是php5.1.6
pdo, 我开始是下载了 pdo_mysql_1.0.2.tgz, phpize, ./configure出错,
然后改用apt-get install php5-pear, php5-dev, libmysqlclient15, 等等,然后在pecl install pdo时出错。
作者: biadlo 发布时间: 2010-03-16
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28