任何人都知道在哪里一个Windows DLL的PECL OAUTH-1.0.0? (0.99.9在这里http://downloads.php.net/pierre/ )
我的phpinfo()显示: "Olson" Timezone Database Version 0.system 而不是安装pecl模块,不是更好,如果我可以更新系统时区数据库/系统? 我怎样才能做到这一点? 我在RHEL5 / CentOS系统上。
我试图在一个centos服务器上安装pecl扩展Imagick,但是我得到一个有关autoconf的错误。 像make和gcc一样安装Autoconf。 但是它抱怨道: [root@server ~]# pecl install imagick downloading imagick-3.0.1.tgz … Starting to download imagick-3.0.1.tgz (93,920 bytes) …………………done: 93,920 bytes 13 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 /usr/bin/phpize: /var/tmp/imagick/build/shtool: /bin/sh: bad interpreter: Permission denied Cannot find autoconf. Please check your […]
我用pecl模块“mongo 1.4.4”运行Apache 2.2.22-13。 它连接到一个MongoDB 2.4.6分片群集。 当发生stepDown时,mongo模块似乎停留在主要的mongod节点上,并且说:“PHP致命错误:带有消息”node1.mongodb.cluster:27017的未捕获exception'MongoCursorException':远程服务器已closures连接' … 为了build立连接,我尝试了以下两种方法: $ m = new MongoClient('mongodb://mongod0.mongodb.cluster,mongod1.mongodb.cluster,mongod2.mongodb.cluster,mongod3.mongodb.cluster',array(“replicaSet”=>“myrs”)); 和 $ m = new MongoClient('mongodb://mongos.mongodb.cluster',array(“replicaSet”=>“myrs”)); 在stepDown之后,两种方式给出相同的错误信息。 使用第一个连接string,重新启动Apache足以让事情回到轨道上。 在最后一个,重新启动不:我不再有任何错误消息,但应该来自MongoDB的数据仍然丢失。 提前致谢, 格雷格。
我正在尝试在Apache 2和PHP 5.4.44版本的Debian上安装PHP xdiff扩展 ,但是我无法正常工作。 我尝试了以下 pecl install xdiff 但是我得到错误: […] checking for PHP prefix… /usr checking for PHP includes… -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib checking for PHP extension directory… /usr/lib/php5/20100525 checking for PHP installed headers prefix… /usr/include/php5 checking if debug is enabled… no checking if zts is enabled… no checking for re2c… no […]
我一直试图让imagick在一个普通的灯服务器上工作。 我做了什么: sudo apt-get –purge remove "imagemagick" sudo apt-get –purge remove "php5-imagick*" service apache2 restart (lib not loaded anymore) sudo apt-get install imagemagick && php5-imagick sudo php5enmod imagick sudo service apache2 restart PHP信息告诉lib被加载,但是apache错误日志被垃圾邮件发送,每个请求都有以下内容: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/imagick.so' – liblcms2.so.2: cannot open shared object file: No such file or directory […]
我想在我的服务器上安装horde webmail 5.2.9(debian Jessie)。 当我去localhost/horde/test.ph我得到: PAM Support (PECL extension): No The PAM PECL extension is required to allow PAM authentication to be used. 要安装PAM扩展,我做了以下几件事: # sudo pecl install –alldeps PAM 我可以validation是否安装了PAM: # sudo pecl list Installed packages, channel pecl.php.net: ========================================= Package Version State pam 1.0.3 stable 我还安装了以下内容: 中的libapache2-MOD-authnz-PAM pwauth 中的libapache2-MOD-authnz-外部 我还启用了以下模块: – authnz_external – authnz_pam […]
类似的问题: pecl_http加载失败 所以我想升级到PHP7.0 ,我相信一切都很好。 但我想我错过了一些页面包,因为我无法login到自己的云端 。 所以我想安装pecl_http : pecl install pecl_http PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/http.so' – /usr/lib/php/20151012/http.so: cannot open shared object file: No such file or directory in Unknown on line 0 downloading pecl_http-3.0.1.tgz … Starting to download pecl_http-3.0.1.tgz (197,372 bytes) ………….done: 197,372 bytes 71 source files, building running: […]
我已经安装了PHP 5.3并使用此PPA升级到5.4 https://launchpad.net/~ondrej/+archive/php5 – 一切顺利。 我旧的pecl扩展,如oauth,不能启用,所以我卸载并重新安装它们。 但他们没有得到加载。 Pecl构build的包很好,但是把'so'文件安装到错误的位置 – '/ usr / lib / php5 / 20090626',而不是新的'/ usr / lib / php5 / 20100525',即使ext_dir设置正确,似乎是一个错误 – https://bugs.php.net/bug.php?id=55196 我把oauth.so移到了新的扩展目录(从php.ini文件中),然后在php.ini中再次检查了扩展名= oauth.so – 但它仍然不会加载扩展名。 运行时 pecl安装oauth 我注意到 : Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 是pecl编译的旧版本的PHP? 这是为什么扩展没有被加载?
我在PHP中安装期望的扩展时遇到了一些严重的错误。 我跑sudo pecl install channel://pecl.php.net/expect-0.3.1 在运行make的时候我得到了这样的错误, running: make /bin/bash /tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/libtool –mode=compile cc -I. -I/tmp/pear/temp/expect -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/include -I/tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/main -I/tmp/pear/temp/expect -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/expect/expect.c -o expect.lo libtool: compile: cc -I. -I/tmp/pear/temp/expect -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/include -I/tmp/pear/temp/pear-build-rootvXp7LZ/expect-0.3.1/main -I/tmp/pear/temp/expect -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/expect/expect.c -fPIC -DPIC -o .libs/expect.o […]