我试图从源代码安装xdebug扩展,但是当我运行phpize命令时,会得到以下错误:
/Applications/XAMPP/xamppfiles/bin/phpize: line 61: grep: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 62: grep: command not found
/Applications/XAMPP/xamppfiles/bin/phpize: line 63: grep: command not found
Configuring for:
PHP Api Vers
我正在尝试使用phpize,它总是抛出这个错误:
/opt/local/bin/autoconf: /opt/local/bin/autom4te: /opt/local/bin/perl: bad interpreter: No such file or directory
/opt/local/bin/autoconf: line 492: /opt/local/bin/autom4te: Unknown error: 0
/opt/local/bin/autoconf的第492行是:
exec "$AUTOM4TE" "$@"
我试图在内置的php中安装m
我正在尝试安装PECL扩展,并且需要phpize。但当我运行phpize时,它显示:
ps@ubuntu:~$ phpize
No command 'phpize' found, did you mean:
Command 'phpize5' from package 'php5-dev' (main)
phpize: command not found
我当前的php版本是:PHP Version 5.4.6-1ubuntu1.2我应该安装php5-dev版本吗?它会有任何冲突的问题吗?还有其他的替代方法吗?
我应该做些什么来解决我的问题?我
我已经成功地安装了XAMPP并添加了虚拟主机,并且能够进行数据库调用等等。我面临的问题是在尝试启用memcache模块时。目前正在尝试使用这些链接进行配置。
我面临的问题是,当从/opt/lampp/bin/phpize启动phpize时
我得到了以下错误。
Cannot find config.m4.
Make sure that you run '/opt/lampp/bin/phpize' in the top level source directory of the module
有人能告诉我如何处理这个错误吗?如果有人有任何有用的链接来使用XAMPP在linux
我尝试使用以下命令安装mysql驱动程序:
$ sudo pecl install pdo_mysql
但我得到了以下错误:
WARNING: "pecl/PDO_MYSQL" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo_mysql//ext/pdo_mysql"
WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.php.
我已经尝试了一个星期了,现在仍然找不到答案,当我尝试这个sudo pecl install id3时,这个错误发生了
downloading id3-0.2.tgz ...
Starting to download id3-0.2.tgz (20,693 bytes)
.....done: 20,693 bytes
4 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source dire
# SETUP PHP81 SYMLINKS
declare -A cgi=([path]="/opt/remi/php81/root/usr/bin/php-cgi" [filename]="php-cgi81")
declare -A config=([path]="/opt/remi/php81/root/usr/bin/php-config" [filename]="php-config81")
declare -A phpize=([path]="/opt/remi/php81/root/usr/bin/phpi
在Linux上,我从源代码中安装了php 5.3.8。使用phpize安装扩展可以正常工作,但不能在一个特定的扩展(mysqlnd)上工作。
# cd /opt/php/5.3.8/ext/pdo && /opt/php/5.3.8/bin/phpize
... this runs ok
# cd /opt/php/5.3.8/ext/mysqlnd && /opt/php/5.3.8/bin/phpize
Cannot find config.m4.
Make sure that you run '/opt/php/5.3.8/bin/phpize&
building in /tmp/pear/temp/rar
running: phpize
sh: phpize: command not found
rolling back 388 file operations
ERROR: `phpize' failed
使用命令"pecl -v install rar“试图安装php的RAR包时会出现此错误。
这意味着什么,我怎样才能解决它?我是linux新手。
我一直打算安装ffmpeg作为我的PHP安装的一个扩展。所以在我安装它之前,我需要对它进行phpize。我用sudo apt-get install php5-dev安装了php5-dev。但是现在当我运行phpize时,我得到了以下错误:
phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
我的php.ini的位置是/usr/local/zend/etc/php.ini
我从另一个在线资源上
我试图安装php-apc插件,我得到了一个错误。
sudo apt-get install php-pear php5-dev libpcre3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsolet
我试图在Ubuntu最新版本上安装XDebug,但得到了以下错误:
pecl install Xdebug
WARNING: configuration download directory "/build/buildd/php5-5.2.10.dfsg.1/pear-build-download" is not writeable. Change download_dir config variable to a writeable dir to avoid this warning
Cannot install, php_dir for channel "pec
我尝试用PHP7.0-fmp在我的Ubuntu16.04中安装xdebug。
在定制的工具里面写着:
Run: phpize (See the FAQ if you don't have phpize.
As part of its output it should show:
Configuring for:
...
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
If it does not, you are using the wrong phpize.
Please follow t
我尝试在FreeBSD 8.0上安装pecl-event,但得到错误:
# pecl install event
Failed to download pecl/event within preferred state "stable", latest release is version 0.9.1, stability "beta", use "channel://pecl.php.net/event-0.9.1" to install
install failed
# pecl install "channel://pecl.php
我用brew安装了mongodb。同时在osx上为mongodb安装xampp的php驱动程序
我使用了以下命令: sudo /Applications/XAMPP/xamppfiles/bin/pecl安装mongo
错误:“`phpize”失败
终端全误差
WARNING: "pecl/mongo" is deprecated in favor of "channel:///mongodb"
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl
我只需要一个工具来生成这个文件。我看到有一个名为pfm (pear文件管理器)的工具,但它是alpha版本,当我尝试运行pear build时出现错误
s3v3n@s3v3n-laptop:~/dev/project/modules/custommodule$ pear build
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of
the module `phpize' failed
我
我尝试在Ubuntu(15.10)中安装php扩展名并获得错误:
sudo pecl install fileinfo
错误:
WARNING: "pear/Fileinfo" is deprecated in favor of "channel://php-src/ext/fileinfo/in php sources"
WARNING: channel "pear.php.net" has updated its protocols, use "pecl channel-update pear.php.net" to upda
我曾尝试在Ubuntu(15.10)中安装php fileinfo扩展,但遇到错误:
sudo pecl install fileinfo
错误:
WARNING: "pear/Fileinfo" is deprecated in favor of "channel://php-src/ext/fileinfo/in php sources"
WARNING: channel "pear.php.net" has updated its protocols, use "pecl channel-update pear.php.net