PECL

failed to install php-extention with pecl on mac( error tips:fail to mkdir /usr/include/php/ext/msgpack)

爷,独闯天下 提交于 2021-02-08 12:15:42
问题 No matter what php extention i install with sudo pecl install xxx , i was failed and got the following error tips: Is there anyone who had the same problem ? 回答1: You must run this as root if you want to install it in that location. If you cannot elevate your rights, then you need to install it elsewhere or ask your admin to do that for you. 来源: https://stackoverflow.com/questions/51484747/failed-to-install-php-extention-with-pecl-on-mac-error-tips-fail-to-mkdir-usr

failed to install php-extention with pecl on mac( error tips:fail to mkdir /usr/include/php/ext/msgpack)

不打扰是莪最后的温柔 提交于 2021-02-08 12:15:36
问题 No matter what php extention i install with sudo pecl install xxx , i was failed and got the following error tips: Is there anyone who had the same problem ? 回答1: You must run this as root if you want to install it in that location. If you cannot elevate your rights, then you need to install it elsewhere or ask your admin to do that for you. 来源: https://stackoverflow.com/questions/51484747/failed-to-install-php-extention-with-pecl-on-mac-error-tips-fail-to-mkdir-usr

PECL_HTTP is installed, but does not work

僤鯓⒐⒋嵵緔 提交于 2021-02-07 23:53:54
问题 I have installed pecl_http , but when I try to use it, I get an error: Fatal error: Uncaught Error: Call to undefined function http_get() in /opt/lampp/htdocs/tes_http.php:3 Stack trace: #0 {main} thrown in /opt/lampp/htdocs/tes_http.php on line 3 This is my php.ini configuration: extension="propro.so" extension="http.so" extension="raphf.so" [PHP] ;;;;;;;;;;;;;;;;;;; Please help me to figure out why the function is not available. 回答1: The current version of http extension (the package name

Error Installing PECL Package: Mysql_xdevapi

别说谁变了你拦得住时间么 提交于 2021-02-07 19:38:12
问题 I'm getting the following error when i run this command sudo pecl install mysql_xdevapi Error: /private/tmp/pear/temp/pear-build-nabilashahidhnTBCl/mysql_xdevapi-8.0.12/libtool: line 1280: xmysqlnd/proto_gen/mysqlx_connection.loT: No such file or directory mkdir xmysqlnd/proto_gen/.libs mkdir: xmysqlnd/proto_gen: No such file or directory make: *** [xmysqlnd/proto_gen/mysqlx_connection.lo] Error 1 ERROR: `make' failed How do I get rid of this? 回答1: The MySQL X DevAPI PECL Extension You can

PHP abandons SQlite? [closed]

你。 提交于 2021-02-07 05:36:50
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 7 years ago . Improve this question The SQLite extension is enabled by default as of PHP 5.0. Beginning with PHP 5.4, the SQLite extension is available only via PECL. Ok, I'm relatively new in PHP programming, and I was wondering what does this quoted information from official PHP site

PHP abandons SQlite? [closed]

…衆ロ難τιáo~ 提交于 2021-02-07 05:36:25
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 7 years ago . Improve this question The SQLite extension is enabled by default as of PHP 5.0. Beginning with PHP 5.4, the SQLite extension is available only via PECL. Ok, I'm relatively new in PHP programming, and I was wondering what does this quoted information from official PHP site

CentOS7安装Apache2和PHP7

随声附和 提交于 2021-02-01 06:37:24
安装Apache 2.4 更新源: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 安装服务: yum -y install httpd CentOS7启动服务: systemctl start httpd.service CentOS7设置开机启动服务: systemctl enable httpd.service 安装源 安装 EPEL 软件包: $ sudo yum install epel-release 安装 remi 源: $ sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm 安装 yum 扩展包: $ sudo yum install yum-utils 启用 remi 仓库: $ sudo yum-config-manager --enable remi-php72 $ sudo yum update 安装 PHP 服务 安装 PHP7,2 $ sudo yum install php72 输入 php72 -v 查看安装结果 安装

Pecl install sqlsrv returns No releases available for package

蓝咒 提交于 2021-01-27 19:34:00
问题 While installing sqlsrv module for PHP7 i'm getting following error - No releases available for package "pecl.php.net/sqlsrv Command used sudo pecl install sqlsrv Any idea how to resolve this issue? 回答1: Same problem here... Solved installing modules as root this way (Ubuntu 16.04): wget http://pecl.php.net/get/sqlsrv-4.3.0.tgz pear install sqlsrv-4.3.0.tgz wget http://pecl.php.net/get/pdo_sqlsrv-4.3.0.tgz pear install pdo_sqlsrv-4.3.0.tgz You can check latests available versions here: http:/

Windows 安装PHP-redis扩展

杀马特。学长 韩版系。学妹 提交于 2021-01-21 05:31:39
有没有在Windows上安装了redis但是一直安装不上php-redis扩展的亲呢?来一起学习一波吧!!! 安装之前百度了好大一波呀,楞时没装上。。。 首先查看PHP信息(phpinfo):   PHP Version 5.5.38;   Architecture:x86   Zend Extension Build: API220121212,TS,VC11 重点是:5.5、x86、TS、VC11,   然后下载资源:     https://windows.php.net/downloads/pecl/releases/igbinary/1.2.0/ //找到与你的PHP版本相符的igbinary.dll,根据我的PHP版本我应该使用 php_igbinary-1.2.0- 5.5 -ts-vc11-x86.zip ,注意标红的时PHP的版本号哦,经过多次尝试,不选用这个是不正确的。     https://windows.php.net/downloads/pecl/releases/redis/2.2.7/ //下载php-redis.dll,注意PHP版本号哦。   下载好后把igbinary.dll、 php-redis.dll、 php_redis.pdb放在PHP扩展目录下,在php.ini中加入:      extension=php_igbinary.dll