pear install http://pear-smarty.googlecode.com/svn/tags/Smarty/Smarty-2.6.24.tgz
Checkout from https://habrahabr.googlecode.com/svn, revision HEAD, Fully recursive, Externals included<br/>C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr\wiki<br/>C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr\trunk<br/>C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr\branches<br/>C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr\tags<br/>At revision: 1
C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr>php pearscs.phar create habrahabr.googlecode.com/svn habrahabr<br/><br/>Created habrahabr.googlecode.com/svn<br/> | ./channel.xml<br/> | ./rest/<br/> | ./get/
Commit<br/>C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr\channel.xml<br/>C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr\get<br/>C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr\pearscs.phar<br/>C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr\rest<br/>At revision: 2
C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr>pear channel-add channel.xml<br/>Adding Channel "habrahabr.googlecode.com/svn" succeeded
[phar]<br/>phar.readonly = 0<br/>phar.require_hash = 0
In the process, it turned out that for some reason the recommended way (channel-discover) of adding a channel does not work, since supposedly PEAR cannot get a description of the channel we initialized, perhaps this is a problem in compatibility of the current versions of PEAR and Coogle Code, or the platform is dependent on my environment. since the contents of the required file can be obtained both through the browser and file_get_contents ():C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr>pear channel-discover habrahabr.googlecode.com/svn<br/>Discovery of channel "habrahabr.googlecode.com/svn" failed (channel-add: Cannot open "http://habrahabr.googlecode.com/svn/channel.xml" (File http://habrahabr.googlecode.com:80/svn/channel.xml not valid (received: HTTP/1.1 404 Not Found)))
It also turned out that Zend Server for Windows does not provide a dll for SQLite3, I had to look for php_sqlite3.dll and php5ts.dll.C:\Program Files (x86)\Zend\Apache2\htdocs\habrahabr>php pearscs.phar create habrahabr.svn.sourceforge.net/viewvc/habrahabr habrahabr<br/><br/>Created habrahabr.svn.sourceforge.net/viewvc/habrahabr<br/> | ./channel.xml<br/> | ./rest/<br/> | ./get/
Unfortunately, it is not yet possible to check whether this will actually work or not.Source: https://habr.com/ru/post/87815/
All Articles