Solved

version of pear in windows

Posted on 2014-03-20
5
257 Views
Last Modified: 2014-03-21
using php command line windows cmd.exe

php -v
works

but I want to know the version of pear

php pear -v
pear -v

do not work
0
Comment
Question by:rgb192
  • 2
  • 2
5 Comments
 
LVL 24

Assisted Solution

by:mankowitz
mankowitz earned 334 total points
ID: 39944387
did you try

pear info pear
0
 
LVL 15

Assisted Solution

by:Insoftservice
Insoftservice earned 166 total points
ID: 39944920
pear -V

or
pear list-all

It's "V" and not "v"  i hope you have tried for lowrcase
0
 

Author Comment

by:rgb192
ID: 39945129
C:\Program Files (x86)\NuSphere>dir
 Volume in drive C is ACER
 Volume Serial Number is A4DC-28C4

 Directory of C:\Program Files (x86)\NuSphere

07/23/2011  12:42 PM    <DIR>          .
07/23/2011  12:42 PM    <DIR>          ..
03/17/2014  11:02 PM    <DIR>          PhpED
               0 File(s)              0 bytes
               3 Dir(s)   8,306,847,744 bytes free

C:\Program Files (x86)\NuSphere>cd phped

C:\Program Files (x86)\NuSphere\PhpED>dir
 Volume in drive C is ACER
 Volume Serial Number is A4DC-28C4

 Directory of C:\Program Files (x86)\NuSphere\PhpED

03/17/2014  11:02 PM    <DIR>          .
03/17/2014  11:02 PM    <DIR>          ..
03/17/2014  11:02 PM    <DIR>          php
03/17/2014  11:02 PM    <DIR>          php5
03/17/2014  11:02 PM    <DIR>          php54
               0 File(s)              0 bytes
               5 Dir(s)   8,306,847,744 bytes free

C:\Program Files (x86)\NuSphere\PhpED>cd php54

C:\Program Files (x86)\NuSphere\PhpED\php54>dir
 Volume in drive C is ACER
 Volume Serial Number is A4DC-28C4

 Directory of C:\Program Files (x86)\NuSphere\PhpED\php54

03/17/2014  11:02 PM    <DIR>          .
03/17/2014  11:02 PM    <DIR>          ..
03/17/2014  11:02 PM    <DIR>          extensions
03/17/2014  11:02 PM    <DIR>          extras
12/11/2013  02:22 AM         1,377,280 glib-2.dll
12/11/2013  02:22 AM            16,384 gmodule-2.dll
12/11/2013  02:22 AM        17,956,864 icudt49.dll
12/11/2013  02:22 AM         1,686,528 icuin49.dll
12/11/2013  02:22 AM            47,104 icuio49.dll
12/11/2013  02:22 AM           196,096 icule49.dll
12/11/2013  02:22 AM            44,032 iculx49.dll
12/11/2013  02:22 AM            55,808 icutest49.dll
12/11/2013  02:22 AM           147,456 icutu49.dll
12/11/2013  02:22 AM         1,289,728 icuuc49.dll
12/11/2013  02:22 AM            86,061 install.txt
12/11/2013  02:22 AM         1,020,416 libeay32.dll
12/11/2013  02:22 AM            43,008 libenchant.dll
12/11/2013  02:22 AM            44,544 libenchant_ispell.dll
12/11/2013  02:22 AM           293,888 libenchant_myspell.dll
12/11/2013  02:22 AM            97,792 libpq.dll
12/11/2013  02:22 AM            68,608 libsasl.dll
12/11/2013  02:22 AM             3,286 license.txt
12/11/2013  02:22 AM           421,664 news.txt
12/11/2013  02:22 AM                39 phar.phar.bat
12/11/2013  02:22 AM            53,240 pharcommand.phar
12/11/2013  02:22 AM            49,152 php-cgi.exe
12/11/2013  02:22 AM            26,624 php-win.exe
12/11/2013  02:22 AM            61,440 php.exe
12/11/2013  02:22 AM             2,523 php.gif
03/17/2014  11:02 PM            69,235 php.ini
04/30/2004  03:37 PM                 0 php.ini-bak
12/11/2013  02:22 AM            68,786 php.ini-development
12/11/2013  02:22 AM            68,818 php.ini-production
12/11/2013  02:22 AM            26,112 php5apache2_2.dll
12/11/2013  02:22 AM            23,552 php5apache2_2_filter.dll
12/11/2013  02:22 AM            26,624 php5apache2_4.dll
12/11/2013  02:22 AM            19,456 php5nsapi.dll
12/11/2013  02:22 AM         6,123,008 php5ts.dll
12/11/2013  02:22 AM               135 pws-php5cgi.reg
12/11/2013  02:22 AM               139 pws-php5isapi.reg
12/11/2013  02:22 AM            21,360 readme-redist-bins.txt
12/11/2013  02:22 AM             1,170 snapshot.txt
12/11/2013  02:22 AM           214,016 ssleay32.dll
03/17/2014  11:02 PM            19,641 unins000.dat
03/17/2014  11:02 PM           429,360 unins000.exe
03/17/2014  11:02 PM            21,091 unins000.msg
              42 File(s)     32,222,068 bytes
               4 Dir(s)   8,306,847,744 bytes free

C:\Program Files (x86)\NuSphere\PhpED\php54>php-cli.exe
'php-cli.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>php-win.exe

C:\Program Files (x86)\NuSphere\PhpED\php54>php -v
PHP 5.4.23 (cli) (built: Dec 11 2013 00:56:37)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with DBG v6.1.7, (C) 2000,2014, by Dmitri Dmitrienko

C:\Program Files (x86)\NuSphere\PhpED\php54>pear install html_quickform2
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>php pear install html_quickform2
Could not open input file: pear

C:\Program Files (x86)\NuSphere\PhpED\php54>pear -v
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>php pear -v
Could not open input file: pear

C:\Program Files (x86)\NuSphere\PhpED\php54>pear -V
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>pear list-all
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>pear info pear
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>pear info pear
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>pear list-all
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>pear -V
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>php pear install html_quickform2
Could not open input file: pear

C:\Program Files (x86)\NuSphere\PhpED\php54>pear install html_quickform2
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>pear -V
'pear' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\NuSphere\PhpED\php54>php -v
PHP 5.4.23 (cli) (built: Dec 11 2013 00:56:37)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with DBG v6.1.7, (C) 2000,2014, by Dmitri Dmitrienko

C:\Program Files (x86)\NuSphere\PhpED\php54>php -v
PHP 5.4.23 (cli) (built: Dec 11 2013 00:56:37)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with DBG v6.1.7, (C) 2000,2014, by Dmitri Dmitrienko

C:\Program Files (x86)\NuSphere\PhpED\php54>dir

Open in new window



what do you think I am missing
because pear was installed in nusphere php ide using (settings->external tools->install pear)
0
 
LVL 24

Accepted Solution

by:
mankowitz earned 334 total points
ID: 39946575
i see no evidence that pear is installed. Download this file

http://pear.php.net/go-pear.phar

and put it in C:\Program Files (x86)\NuSphere\PhpED\php54

they type

php go-pear.phar

then try

pear info pear
0
 

Author Closing Comment

by:rgb192
ID: 39946755
pear info pear

thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now