We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,063 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

trying to install a pear package

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

3
Contributors
12
Replies
1 Day
Discussion Span
1 Year Ago
Last Updated
13
Views
eduard77
Junior Poster
119 posts since Dec 2009
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 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?

cereal
Veteran Poster
1,145 posts since Aug 2007
Reputation Points: 344
Solved Threads: 222
Skill Endorsements: 22

I use windows and MySql

eduard77
Junior Poster
119 posts since Dec 2009
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0
cereal
Veteran Poster
1,145 posts since Aug 2007
Reputation Points: 344
Solved Threads: 222
Skill Endorsements: 22

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

eduard77
Junior Poster
119 posts since Dec 2009
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

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

cereal
Veteran Poster
1,145 posts since Aug 2007
Reputation Points: 344
Solved Threads: 222
Skill Endorsements: 22

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

eduard77
Junior Poster
119 posts since Dec 2009
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

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

eduard77
Junior Poster
119 posts since Dec 2009
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

The manual states:

c:\php\go-pear.bat.

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

diafol
Keep Smiling
Moderator
10,653 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,510
Skill Endorsements: 57

but how do I change this path?

eduard77
Junior Poster
119 posts since Dec 2009
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

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

diafol
Keep Smiling
Moderator
10,653 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,510
Skill Endorsements: 57

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.

cereal
Veteran Poster
1,145 posts since Aug 2007
Reputation Points: 344
Solved Threads: 222
Skill Endorsements: 22

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

eduard77
Junior Poster
119 posts since Dec 2009
Reputation Points: 7
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.1059 seconds using 2.67MB