|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
pear install -f Services_Twitter
will install the package without the PHP version check. |
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
|||
|
|||
|
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.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > PEAR noob - problem with php version? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|