摘要:
硬件环境:Dell PowerEdge 1950,4核Intel(R) Xeon(R) CPU E5410 @ 2.33GHz4G内存系统环境:CentOS release 5.2,内核版本: 2.6.18-92.el5安装步骤:一、编译安装php 5.4.3所需的支持库1.下载以下rpm包到/usr/local/softwarecurl-devel-7.15.5-2.el5.i386.rpm krb5-devel-1.6.1-25.el5.i386.rpm libpng-devel-1.2.10-7.1.el5_0.1.i386.rpm MySQL-client-5.5.24-1.linux 阅读全文
摘要:
安装到mcrypt的时候出现了问题./configure提示出错,首先提示*** Could not run libmcrypt test program, checking why…*** The test program failed to compile or link. See the file config.log for the*** exact error that occured. This usually means LIBMCRYPT was incorrectly installed*** or that you have moved LIBMCRYPT since it 阅读全文
摘要:
(以下步骤均为本人实际操作,可能与你的安装方法有所区别,但我会尽量排除疑惑)大致步骤(1)安装mcrypt,(2)安装php对mcrypt的扩展,(3)重启apache(1)、确认你的linux没有安装mcrypt库,如果已安装,跳过安装步骤[root@test-206 ~]# yum list installed|grep mcryptlibmcrypt.x86_64 2.5.8-4.el5.centos installedlibmcrypt-devel.x86_64 2.5.8-4.... 阅读全文
摘要:
在安装php时,报如下错误In file included from /kk/php-5.4.0/ext/gd/gd.c:103:/kk/php-5.4.0/ext/gd/gd_ctx.c: In function ‘_php_image_stream_putc’:/kk/php-5.4.0/ext/gd/gd_ctx.c:51: 错误:‘struct gdIOCtx’ 没有名为 ‘data’ 的成员/kk/php-5.4.0/ext/gd/gd_ctx.c: In function ‘_php_image_stream_putbuf’:/kk/php-5.4.0/ext/gd/gd_ctx. 阅读全文
摘要:
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/home/king/php-5.2.13/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open'collect2: ld returned 1 exit statusmake: *** [sapi/cli/php] Error 1[root@test php-5.2.13]# vi Makefile在安裝 PHP 到系统中时要是发生「undefined reference 阅读全文