请求帮助 “请检查 PHP 或网站服务器日志,并正确配置 PHP 安装”
时间:2010-05-22
来源:互联网
本帖最后由 aselmy 于 2010-05-22 18:17 编辑
phpMyAdmin - 错误
无法在发生错误时创建会话,请检查 PHP 或网站服务器日志,并正确配置 PHP 安装。
linux系统 使用yum update php 升级到最新版。然后又这个错误。因为服务器是PHP版本是5.1.X的 无法使用phpmyadmin 所以升级了下
据说要编译php和apache?但是找了半天也没有找到应该如何编译,请教大家。知道的帮忙写一下。谢谢了
复制代码
phpMyAdmin - 错误
无法在发生错误时创建会话,请检查 PHP 或网站服务器日志,并正确配置 PHP 安装。
linux系统 使用yum update php 升级到最新版。然后又这个错误。因为服务器是PHP版本是5.1.X的 无法使用phpmyadmin 所以升级了下
据说要编译php和apache?但是找了半天也没有找到应该如何编译,请教大家。知道的帮忙写一下。谢谢了
- PHP Version 5.2.10
-
- System Linux localhost.localdomain 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686
- Build Date Nov 13 2009 11:25:53
- Configure Command './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json'
- Server API Apache 2.0 Handler
- Virtual Directory Support disabled
- Configuration File (php.ini) Path /etc
- Loaded Configuration File /usr/local/Zend/etc/php.ini
- Scan this dir for additional .ini files /etc/php.d
- additional .ini files parsed /etc/php.d/dbase.ini, /etc/php.d/dom.ini, /etc/php.d/gd.ini, /etc/php.d/json.ini, /etc/php.d/ldap.ini, /etc/php.d/mbstring.ini, /etc/php.d/mhash.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/xmlreader.ini, /etc/php.d/xmlwriter.ini, /etc/php.d/xsl.ini, /etc/php.d/zip.ini
- PHP API 20041225
- PHP Extension 20060613
- Zend Extension 220060519
- Debug Build no
- Thread Safety disabled
- Zend Memory Manager enabled
- IPv6 Support enabled
- Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, zip
- Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
- Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed
-
- Zend logo This program makes use of the Zend Scripting Language Engine:
- Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
- with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
- with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
作者: aselmy 发布时间: 2010-05-22
typelib.c:86: error: expected ‘)’ before numeric constant
作者: 0vk0 发布时间: 2010-05-22
1.确保您的php安装正确。phpinfo可以正常预览
2.打开您的php.ini配置文件session.save_path = “某个路径”检查该项是否配置正确,尤其确定这个目录是否存在,我们经常会遇到我们只拷过来了配置文件,没有看环境路径的问题
3.如果是WINDOWS的服务器检查temp目录的权限,请确保有internet来宾账户权限
4.使用phpinfo函数查看您的php安装情况,并检查Loaded Configuration 该项配置是否正确,如果该项显示为none
2.打开您的php.ini配置文件session.save_path = “某个路径”检查该项是否配置正确,尤其确定这个目录是否存在,我们经常会遇到我们只拷过来了配置文件,没有看环境路径的问题
3.如果是WINDOWS的服务器检查temp目录的权限,请确保有internet来宾账户权限
4.使用phpinfo函数查看您的php安装情况,并检查Loaded Configuration 该项配置是否正确,如果该项显示为none
作者: 0vk0 发布时间: 2010-05-22
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28