1.11M Members

trying to install a pear package

 
0
 

I am trying to install XML_RSS extension but it seem that something is not working.
I was looking over the documentation and it says that I should run some commands in the command line.
this one confused me totally.
Could anyone help me get this done?
Thanks

 
0
 

In order to install a pear package you need to run a terminal and type the install commands there, not all hosting plans allows terminal sessions (ssh). Which platform are you using: linux, windows? Are you testing in a local server?

 
0
 

I use windows and MySql

 
0
 

Of course that I saw the installation instructions but but I am not familiar with the command line. When I write this command php go-pear.phar I receive the next error.
c:\users\Edy> `php` is not recognized as an internal or external command, operable program or batch file.
I downloaded the pyrus.phar file and I put it in the downloads folder

 
0
 

This error message means that PHP is not installed or path is not set.

 
0
 

And how do I set it?
I installed with wamp server.
the location of php is c:\wamp\bin\php

 
0
 

And how do I set it?
I installed php with wamp server.
the location of php is c:\wamp\bin\php

 
0
 

The manual states:

c:\php\go-pear.bat.

But your path is c:\wamp\bin\php\go-pear.bat (I assume).

 
0
 

but how do I change this path?

 
0
 

Open console
cd\wamp\bin\php
go-pear.bat

 
0
 

In addition to Ardav suggest, you can set the path in Windows Environment Variables, I don't have a Windows box, but searching on google it seems you can access to that going into Control Panel > System > Advanced > Environmental Variables as suggested here:

http://us2.php.net/manual/en/faq.installation.php#faq.installation.addtopath

bye.

 
0
 

I changed the path with no problems but when I try to run pyrus.phar it opens me a box where is written that windows cannot open this extension .phar

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article