Estou tentando instalar a classe oAuth no meu PHP mas não consigo...
sudo: pecl: command not found
MacBook-Pro-de-Jose-Milagre:bin jamilagre$ sudo ./pecl install oauth
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading oauth-1.2.3.tar ...
Starting to download oauth-1.2.3.tar (Unknown size)
.....................done: 234,496 bytes
6 source files, building
running: phpize-5.3.1
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/main/php.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
Quando tento rodar o php:
Fatal error: Class 'OAuth' not found in /Applications/XAMPP/xamppfiles/htdocs/phirehose-master/example/TwitterAutoReply.php on line 22
MacBook-Pro-de-Jose-Milagre:example jamilagre$
Como faço a a classe ser instalada e atualizar o meu PHP?
Pergunta
Milagre
Estou tentando instalar a classe oAuth no meu PHP mas não consigo...
sudo: pecl: command not found
MacBook-Pro-de-Jose-Milagre:bin jamilagre$ sudo ./pecl install oauth
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading oauth-1.2.3.tar ...
Starting to download oauth-1.2.3.tar (Unknown size)
.....................done: 234,496 bytes
6 source files, building
running: phpize-5.3.1
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/main/php.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
Quando tento rodar o php:
Fatal error: Class 'OAuth' not found in /Applications/XAMPP/xamppfiles/htdocs/phirehose-master/example/TwitterAutoReply.php on line 22
MacBook-Pro-de-Jose-Milagre:example jamilagre$
Como faço a a classe ser instalada e atualizar o meu PHP?
Abraços
:rolleyes:
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.