PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old April 22nd, 2009, 02:49 PM
soychicka soychicka is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 2 soychicka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m
Reputation Power: 0
PEAR noob - problem with php version?

Heyo,

Trying to get PEAR running for the first time... it appears to be installed, but any time I attempt to install the package I'm looking for (Services_Twitter-0.2.0) I run into

"pear/Services_Twitter requires PHP (version >= 5.2.0), installed version is 4.4.9"

When I first saw that, I set the alias for my php version to 5.2.6 from shell, verified that it took, but I'm still getting the "installed version is 4.4.9" message.

I know I have the right php version running, can I ignore the warning?
Any ideas on how to otherwise rectify the situation?

Reply With Quote
  #2  
Old April 23rd, 2009, 04:28 PM
wiesemann wiesemann is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 172 wiesemann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 2 m
Reputation Power: 3
pear install -f Services_Twitter
will install the package without the PHP version check.

Reply With Quote
  #3  
Old April 23rd, 2009, 05:10 PM
soychicka soychicka is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 2 soychicka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m
Reputation Power: 0
Thank so much... I figured as much would be possible, but for future reference, though: did I massively hose something, or would there be a way to fix the underlying issue?

Reply With Quote
  #4  
Old April 23rd, 2009, 05:13 PM
wiesemann wiesemann is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 172 wiesemann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 2 m
Reputation Power: 3
Most times there are at least two "PHPs": one for the webserver, one for the shell (CLI). The first is in most cases relevant for scripts using PEAR scripts, the latter is relevant for the PEAR installer (and for its checks, e.g. the PHP version check). If the webserver PHP is >= 5.2.0 everything is fine even with an old CLI PHP version. Of course, having both versions up-to-update would be better.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > PEAR noob - problem with php version?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek