Use pear to install php extensions on windows use pear to install php extensions on windows related websites: http://www.php.nethttp: // pear. php. nethttp: // pear2.php. nethttp: // pecl. php. netpear2 needs to use sqlite3 to execute the command: 1 use pear on windows to install php extension
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
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.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.