Ticket #84 (closed defect: worksforme)
No phing.php with PEAR installation on Windows
| Reported by: | anonymous | Owned by: | hans |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | phing-core | Version: | 2.3.0beta1 |
| Keywords: | Cc: |
Description
Successfully installed Phing 2.3.0beta1 using PEAR on a Windows XP machine:
C:\Programs\xampplite\php>pear install phing/phing Did not download optional dependencies: pear/VersionControl_SVN, pear/PHPUnit2, pear/PhpDocumentor, pear/Xdebug, pear/PEAR_PackageFileManager, use --alldeps to download automatically phing/phing can optionally use package "pear/VersionControl_SVN" (version >= 0.3.0alpha1) phing/phing can optionally use package "pear/PHPUnit2" (version >= 2.3.0) phing/phing can optionally use package "pear/PhpDocumentor" (version >= 1.3.0RC3) phing/phing can optionally use package "pear/Xdebug" (version >= 2.0.0beta2) phing/phing can optionally use package "pear/PEAR_PackageFileManager" (version >= 1.5.2) downloading phing-2.3.0beta1.tgz ... Starting to download phing-2.3.0beta1.tgz (397,990 bytes) .............................................done: 397,990 bytes install ok: channel://pear.phing.info/phing-2.3.0beta1
However, the script C:\Programs\xampplite\php\phing\phing.bat refers to the file C:\Programs\xampplite\php\pear\phing.php, but that file doesn't exist.
Attachments
Change History
comment:1 Changed 5 years ago by hans
- Status changed from new to closed
- Resolution set to worksforme
comment:2 Changed 5 years ago by Allister Beharry
This also occurred for me as well, in order to install the beta1 of 2.3.0 I did pear config-set preferred_state beta and then pear install phing/phing
IIRC the package did not include phing.php or any other dir besides the classes dir. Perhaps the 2.30.beta1 package has been updated since.
comment:3 Changed 4 years ago by sethdarr@…
- Status changed from closed to reopened
- Resolution worksforme deleted
I had this problem as well, using the release version, not the beta. i used
$> pear channel-discover pear.phing.info $> pear install phing/phing
and i can't find phing.php anywhere.
comment:4 Changed 4 years ago by mrook
- Status changed from reopened to closed
- Resolution set to worksforme
Unable to reproduce using the latest release.
comment:5 Changed 18 months ago by sachin_nanaware@…
I got above error on phing build 2.4.1 used command $> pear channel-discover pear.phing.info $> pear install phing/phing on windows 7 OS Please send me solution
comment:6 Changed 9 months ago by shweta
- I have configured Apache2.2.17 + subversion 1.6.15 + PHP5.3.6 + the pear package which comes with the PHP distribution.. Both Apache and PHP are working fine , when i run phpinfo.php file through localhost it is getting executed.
But when trying to install VersionControl_SVN through this command: pear install --alldeps VersionControl_SVN-alpha, it is giving me this error: " No releases available for package "pear.php.net/VersionControl_SVN" Cannot initialize ' channel://pear.php.net/VersionControl_SVN-alpha', invalid or missing package file Package channel://pear.php.net/VersionControl_SVN-alpha" is not valid install failed " Hi All,
- i have tried to install this manually :
pear install VersionControl_SVN-0.3.4.gz (this package i have downloaded) . but no luck with this command also.. where i am going wrong?? i am unable to understand..
- i followed this link to configure the same :
http://www.derangedcoder.net/programming/subversion/installSVNWindowsServer.html#toc
Please someone help in this.. i wanted to configure SVNManager further please help me in this.
Regards, Shweta
comment:7 Changed 9 months ago by shwerain22@…
Hi All,
- I have configured Apache2.2.17 + subversion 1.6.15 + PHP5.3.6 + the pear package which comes with the PHP distribution.. Both Apache and PHP are working fine , when i run phpinfo.php file through localhost it is getting executed.
But when trying to install VersionControl_SVN through this command: pear install --alldeps VersionControl_SVN-alpha, it is giving me this error: " No releases available for package "pear.php.net/VersionControl_SVN" Cannot initialize ' channel://pear.php.net/VersionControl_SVN-alpha', invalid or missing package file Package channel://pear.php.net/VersionControl_SVN-alpha" is not valid install failed "
- i have tried to install this manually :
pear install VersionControl_SVN-0.3.4.gz (this package i have downloaded) . but no luck with this command also.. where i am going wrong?? i am unable to understand..
- i followed this link to configure the same :
http://www.derangedcoder.net/programming/subversion/installSVNWindowsServer.html#toc
Please someone help in this.. i wanted to configure SVNManager further please help me in this.
Regards, Shweta

I can't reproduce install errors on windows. Is this WAMP-specific?