我有一个相当新的Debiantesting安装,我试图安装PEAR / PECL,但是当我运行命令没有任何反应。 我不想在Debian软件库中安装PEAR软件包,因为根据我的经验,这太旧了。 我已经安装了php5-dev。 这是我试过的: $ wget http://pear.php.net/go-pear.phar $ php go-pear.phar 我也试过sudo php go-pear.phar 。 $ php -version PHP 5.3.6-13 with Suhosin-Patch (cli) (built: Jul 4 2011 12:42:46) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH 任何想法我怎么能看到这里出了什么问题? – 编辑 […]
当试图在xampp(windows)中安装apc时出现错误。 c:\xampp\php>pecl install apc downloading APC-3.1.9.tgz … Starting to download APC-3.1.9.tgz (155,540 bytes) ……………………………done: 155,540 bytes 54 source files, building WARNING: php_bin C:\xampp\php\php.exe appears to have a suffix \php.exe, but con fig variable php_suffix does not match ERROR: The DSP APC.dsp does not exist. c:\xampp\php> 请帮助我请如何得到apc.dsp .. thx。
运行以下命令: > sudo pecl install spidermonkey 我收到以下错误: … … a bunch of successful checks … … checking whether to enable spidermonkey support… yes, shared configure: error: jsapi.h not found. Please reinstall libjs. ERROR: `/var/tmp/spidermonkey/configure' failed 我试图通过安装js-devel来解决这个问题,js-devel在与各种yum软件库摔跤后,最后我手动完成了这个工作: > wget http://pkgs.repoforge.org/js/js-1.60-1.el6.rf.x86_64.rpm > wget http://pkgs.repoforge.org/js/js-devel-1.60-1.el6.rf.x86_64.rpm > yum install js-1.60-1.el6.rf.x86_64.rpm > yum install js-devel-1.60-1.el6.rf.x86_64.rpm (不知道为什么js-devel需要先安装js …但是,当我尝试安装js-devel独奏时,它会抱怨。 重新运行pecl install ,我收到相同的错误。 […]
我在CentOS上使用phing作为部署工具,我想使用SshTask,它需要安装libssh2。 我试过“pecl install ssh2”,但是要求我提供一个libssh2前缀[/ usr?] 我注意到这意味着我需要先安装libssh2,但是yum没有这个包。 所以我的问题是:在Centos上安装libssh2然后安装pecl扩展的最佳方法是什么?
我需要在我的电脑上安装memcahced(而不是memcache)(ubuntu 10.10和php 5.3.3),我做了以下工作: $ apt-get install php5-memcached libmemcached-tools libmemcached5 =>成功完成 $ pecl安装memcached 它以下面的错误结束 检查libmemcached位置…configuration:错误:memcached支持 需要libmemcached。 使用–with-libmemcached-dir =指定前缀 libmemcached标头和库位于哪里 任何想法是高度赞赏
出于某种原因pecl_http扩展名不显示在我的test.php文件中包含: <?php phpinfo(); ?> 我刚刚安装pecl_http使用: pecl安装pecl_http 安装成功,我运行validation它: pecl名单 Installed packages, channel pecl.php.net: ========================================= Package Version State mongo 1.2.10 stable pecl_http 1.7.4 stable 然后我find我的php.ini文件使用: php -i | grep'configuration文件' Configuration File (php.ini) Path => /etc/php5/cli Loaded Configuration File => /etc/php5/cli/php.ini 我在vim中编辑它,并添加: 延长= http.so 最后我重新启动了Nginx和PHP-FastCGI: /etc/init.d/nginx restart /etc/init.d/php-fastcgi stop /etc/init.d/php-fastcgi start 我的PHP extension_dir是: / usr / lib中/ PHP5 […]
我试图安装pecl_http作为php的扩展。 phpise工作正常,因为我得到configuration文件了。 当我去键入./configure时,我得到以下错误信息; … checking openssl/crypto.h usability… yes checking openssl/crypto.h presence… yes checking for openssl/crypto.h… yes checking for gnutls support in libcurl… no checking for ares support in libcurl… no checking for bundled SSL CA info… /etc/ssl/certs/ca-certificates.crt checking for event2/event.h… found in /usr checking for libevent version, roughly… 2.0.19-stable checking for ext/raphf support… no configure: […]
我在/usr/local/apps/php54/ Webuzo(centos-6-x86_64.openvz)上有一个php实例。 它已经在/usr/local/apps/php54/bin/有pecl和phpize。 用命令安装igbinary `/usr/local/apps/php54/bin/pecl install igbinary` 我得到这个警告: "WARNING: php_bin /usr/local/apps/php54/bin/php appears to have a suffix 54/bin/php, but config variable php_suffix does not match" 完整的日志 # /usr/local/apps/php54/bin/pecl install igbinary downloading igbinary-1.2.1.tar … Starting to download igbinary-1.2.1.tar (Unknown size) ……………………..done: 229,376 bytes 9 source files, building WARNING: php_bin /usr/local/apps/php54/bin/php appears to have a suffix 54/bin/php, but […]
这是我find的唯一链接,但它不起作用。 http://pecl4win.php.net/ext.php/php_memcache.dll 我在哪里可以findphp_memcache扩展的预编译的DLL?
我基本上把这个问题,因为我想使用PHP:Mailparse扩展,并坚持在其安装。 但是,我也想知道PHP扩展安装的一些基本知识 – 请查看底部 – 关于扩展安装的基本问题 。 这可能是一个愚蠢的问题,但我仍然对这些事情有很多困惑,总是在重要的时刻卡住。 所以,请原谅我,如果可以的话,帮助我 我尝试了以下方法来安装Mailparse扩展 – 重新编译PHP 我试图去使用mailparse扩展重新编译PHP,但我无法做到这一点 – 检查https://serverfault.com/questions/227976/on-which-location-to-run-configure-while-recompiling-php 。 PECL命令安装 我在想,因为这是一个PECL扩展名,可以通过pecl install mailparse命令来安装吗? 在运行该命令,它启动过程 – downloading mailparse-2.1.5.tgz … Starting to download mailparse-2.1.5.tgz (37,332 bytes) ……….done: 37,332 bytes 9 source files, building running: phpize grep: /opt/lampp/include/php/main/php.h: No such file or directory grep: /opt/lampp/include/php/Zend/zend_modules.h: No such file or directory 但是我终于明白了这一点, […]