Use pear to install php extensions on windows use pear to install php extensions on windows related websites: www. php. netpear. php. netpear2.php. netpecl. php. netpear2 needs to use sqlite3 to execute the command: 1. phpD: phpphp5.3.5pyrus. install php extension using pear on windows
Install php extensions using pear on windows
Related websites:
Http://www.php.net
Http://pear.php.net
Http://pear2.php.net
Http://pecl.php.net
Pear2 requires sqlite3
Run the following command:
1. php D: \ php \ php5.3.5 \ pyrus. phar install D: \ php \ php5.3.5 \ ext \ libevent-0.0.4.tgz
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at D: \ php \ php5.3.5 \ ext
Downloading pecl.php.net/libevent
PEAR2 \ Pyrus \ Registry \ Exception: Error: package pecl.php.net/libevent cocould not B
E installed in registry: Unable to execute statement: constraint failed
Exception: Unable to execute statement: constraint failed
2. php D: \ php \ php5.3.5 \ pyrus. phar-v install pecl/libevent
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at D: \ wamp \ bin \ php \ php5.3.5 \ ext
PEAR2 \ Pyrus \ Installer \ Exception: Dependency validation failed for some packages
To install, installation aborted
PEAR2 \ Pyrus \ Package \ Dependency \ Set \ Exception: Unable to find a compatible relea
Se for pecl.php.net/libevent
3. php D: \ php \ php5.3.5 \ pyrus. phar-v install pecl/libevent-0.0.4
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at D: \ php \ php5.3.5 \ ext
Downloading pecl.php.net/libevent
Connected...
Mime-type: application/octet-stream
[=====================>
[===================================================== ==================================>
[===================================================== ==========================================================
PHP Warning: rmdir (D: \ php \ php5.3.5 \ ext \. journal-src): Permission denie
D in phar: // D: // wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Py
Rus/Filesystem. php on line 103
PHP Stack trace:
PHP 1. {main} () D: \ php \ php5.3.5 \ pyrus. phar: 0
PHP 2. PEAR2 \ Pyrus \ ScriptFrontend \ Commands-> run () D: \ php \ php5.3.5 \ pyr
Us. phar: 52
PHP 3. PEAR2 \ Pyrus \ ScriptFrontend \ Commands-> install () phar: // D:/wamp/bin/php/p
Hp5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/ScriptFrontend/Commands. p
Hp: 284
PHP 4. PEAR2 \ Pyrus \ Installer: commit () phar: // D:/wamp/bin/php/php5.3.5/pyrus. p
Har/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/ScriptFrontend/Commands. php: 491
PHP 5. PEAR2 \ Pyrus \ Installer-> install () phar: // D:/wamp/bin/php/php5.3.5/pyrus.
Php/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Installer. php: 313
PHP 6. PEAR2 \ Pyrus \ AtomicFileTransaction: getTransactionObject () phar: // D:/wam
P/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Installer. php:
465
PHP 7. PEAR2 \ Pyrus \ AtomicFileTransaction \ Manager-> getTransaction () phar: // D:/w
Amp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileTr
Ansaction. php: 71
PHP 8. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction->__ construct () phar: // D :/
Wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileT
Ransaction/Manager. php: 67
PHP 9. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction-> begin () phar: // D:/wamp/B
In/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileTransac
Tion/Transaction. php: 37
PHP 10. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction \ TwoStage-> begin () phar ://
D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFi
LeTransaction/Transaction. php: 60
PHP 11. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction \ Base-> begin () phar: // D:/w
Amp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileTr
Ansaction/Transaction/TwoStage. php: 49
PHP 12. PEAR2 \ Pyrus \ Filesystem: rmrf () phar: // D:/wamp/bin/php/php5.3.5/pyrus. ph
Ar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileTransaction/Transaction/Base. ph
P: 91
PHP 13. rmdir () phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/
Php/PEAR2/Pyrus/Filesystem. php: 103
Warning: rmdir (D: \ php \ php5.3.5 \ ext \. journal-src): Permission denied in
Phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/F
Ilesystem. php on line 103
Call Stack:
0.1306 1507856 1. {main} () D: \ php \ php5.3.5 \ pyrus. phar: 0
0.1884 3129712 2. PEAR2 \ Pyrus \ ScriptFrontend \ Commands-> run () D: \ wamp \ bi
N \ php \ php5.3.5 \ pyrus. phar: 52
0.3137 5680856 3. PEAR2 \ Pyrus \ ScriptFrontend \ Commands-> install () phar :/
/D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/ScriptF
Rontend/Commands. php: 284
0.3496 7156424 4. PEAR2 \ Pyrus \ Installer: commit () phar: // D:/wamp/bin/ph
P/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/ScriptFrontend/Command
S. php: 491
2.6276 10275160 5. PEAR2 \ Pyrus \ Installer-> install () phar: // D:/wamp/bin/p
Hp/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Installer. php: 313
2.6295 10278280 6. PEAR2 \ Pyrus \ AtomicFileTransaction: getTransactionObje
Ct () phar: // D: // wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Py
Rus/Installer. php: 465
2.6295 10278280 7. PEAR2 \ Pyrus \ AtomicFileTransaction \ Manager-> getTransac
Tion () phar: // D: // wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/
Pyrus/AtomicFileTransaction. php: 71
2.6338 10484696 8. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction->__ cons
Truct () phar: // D:/wamp/bin/php/php5.3.5/pyrus. php/PEAR2_Pyrus-2.0.0a3/php/PEAR2
/Pyrus/AtomicFileTransaction/Manager. php: 67
2.6345 10485016 9. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction-> begin (
) Phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus
/AtomicFileTransaction/Transaction. php: 37
2.6345 10485016 10. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction \ TwoStag
E-> begin () phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PE
AR2/Pyrus/AtomicFileTransaction/Transaction. php: 60
2.6352 10485016 11. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction \ Base-> B
Egin () phar: // D: // wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/
Pyrus/AtomicFileTransaction/Transaction/TwoStage. php: 49
2.6357 10484968 12. PEAR2 \ Pyrus \ Filesystem: rmrf () phar: // D:/wamp/bin/php
/Php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileTransaction/T
Ransaction/Base. php: 91
2.6369 10486400 13. rmdir () phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PE
AR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Filesystem. php: 103
PHP Warning: rmdir (D: \ php \ php5.3.5 \ ext \. journal-src): Permission denie
D in phar: // D: // wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Py
Rus/Filesystem. php on line 103
PHP Stack trace:
PHP 1. {main} () D: \ php \ php5.3.5 \ pyrus. phar: 0
PHP 2. PEAR2 \ Pyrus \ ScriptFrontend \ Commands-> run () D: \ php \ php5.3.5 \ pyr
Us. phar: 52
PHP 3. PEAR2 \ Pyrus \ ScriptFrontend \ Commands-> install () phar: // D:/wamp/bin/php/p
Hp5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/ScriptFrontend/Commands. p
Hp: 284
PHP 4. PEAR2 \ Pyrus \ Installer: commit () phar: // D:/wamp/bin/php/php5.3.5/pyrus. p
Har/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/ScriptFrontend/Commands. php: 491
PHP 5. PEAR2 \ Pyrus \ Installer-> install () phar: // D:/wamp/bin/php/php5.3.5/pyrus.
Php/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Installer. php: 313
PHP 6. PEAR2 \ Pyrus \ AtomicFileTransaction: getTransactionObject () phar: // D:/wam
P/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Installer. php:
465
PHP 7. PEAR2 \ Pyrus \ AtomicFileTransaction \ Manager-> getTransaction () phar: // D:/w
Amp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileTr
Ansaction. php: 71
PHP 8. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction->__ construct () phar: // D :/
Wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileT
Ransaction/Manager. php: 67
PHP 9. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction \ Base-> rollback () phar: // D
:/Wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFil
ETransaction/Transaction. php: 40
PHP 10. PEAR2 \ Pyrus \ Filesystem: rmrf () phar: // D:/wamp/bin/php/php5.3.5/pyrus. ph
Ar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileTransaction/Transaction/Base. ph
P: 118
PHP 11. rmdir () phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/
Php/PEAR2/Pyrus/Filesystem. php: 103
Warning: rmdir (D: \ php \ php5.3.5 \ ext \. journal-src): Permission denied in
Phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/F
Ilesystem. php on line 103
Call Stack:
0.1306 1507856 1. {main} () D: \ php \ php5.3.5 \ pyrus. phar: 0
0.1884 3129712 2. PEAR2 \ Pyrus \ ScriptFrontend \ Commands-> run () D: \ wamp \ bi
N \ php \ php5.3.5 \ pyrus. phar: 52
0.3137 5680856 3. PEAR2 \ Pyrus \ ScriptFrontend \ Commands-> install () phar :/
/D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/ScriptF
Rontend/Commands. php: 284
0.3496 7156424 4. PEAR2 \ Pyrus \ Installer: commit () phar: // D:/wamp/bin/ph
P/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/ScriptFrontend/Command
S. php: 491
2.6276 10275160 5. PEAR2 \ Pyrus \ Installer-> install () phar: // D:/wamp/bin/p
Hp/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Installer. php: 313
2.6295 10278280 6. PEAR2 \ Pyrus \ AtomicFileTransaction: getTransactionObje
Ct () phar: // D: // wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Py
Rus/Installer. php: 465
2.6295 10278280 7. PEAR2 \ Pyrus \ AtomicFileTransaction \ Manager-> getTransac
Tion () phar: // D: // wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/
Pyrus/AtomicFileTransaction. php: 71
2.6338 10484696 8. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction->__ cons
Truct () phar: // D:/wamp/bin/php/php5.3.5/pyrus. php/PEAR2_Pyrus-2.0.0a3/php/PEAR2
/Pyrus/AtomicFileTransaction/Manager. php: 67
2.7068 10504272 9. PEAR2 \ Pyrus \ AtomicFileTransaction \ Transaction \ Base-> r
Ollback () phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEA
R2/Pyrus/AtomicFileTransaction/Transaction. php: 40
2.7069 10504224 10. PEAR2 \ Pyrus \ Filesystem: rmrf () phar: // D:/wamp/bin/php
/Php5.3.5/pyrus. phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/AtomicFileTransaction/T
Ransaction/Base. php: 118
2.7078 10505656 11. rmdir () phar: // D:/wamp/bin/php/php5.3.5/pyrus. phar/PE
AR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Filesystem. php: 103
PEAR2 \ Pyrus \ Installer \ Exception: Installation failed
PEAR2 \ Pyrus \ AtomicFileTransaction \ MultiException: Unable to begin transaction
PEAR2 \ Pyrus \ IOException: Unable to fully remove D: \ php \ php5.3.5 \ ext \.
Journal-src
PEAR2 \ Pyrus \ AtomicFileTransaction \ RuntimeException: Cannot rollback-not in
A transaction
You need to clear the related folder cache,. configsnapshots,. journal-docs,. journal-src, and downloads.
The following error is reported:
D: \ php \ php5.3.5 \ ext> php D: \ php \ php5.3.5 \ pyrus. phar-v install
Libevent-0.0.4/pecl
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at D: \ wamp \ bin \ php \ php5.3.5 \ ext
Downloading pecl.php.net/libevent
Connected...
Mime-type: application/octet-stream
[=====================>
[===================================================== ==========>
[===================================================== =========================================>
PEAR2 \ Pyrus \ Registry \ Exception: Error: package pecl.php.net/libevent cocould not B
E installed in registry: Unable to execute statement: constraint failed
Exception: Unable to execute statement: constraint failed
The error is the same as the installation error of local files. an error occurs during SQL statement execution, but how does one display the wrong SQL statement?
Open. pear2registry, but there are many garbled characters.