Re: Bad number version after upgrade PEAR 1.6
| From: | Loic | Date: | Fri, 07 Sep 2007 15:19:04 +0000 |
| Subject: | Re: Bad number version after upgrade PEAR 1.6 | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27895@lists.php.net to get a copy of this message | ||
Loic wrote:
> Gregory Beaver wrote:
>
>> Loic wrote:
>>> Hello,
>>>
>>> Escuse me for my very bad english, but i 'm french...
>>>
>>> I have a problem of version's PEAR.
>>>
>>> I will use the MDB2 API and my version of PEAR was the 1.3.xx
>>> and, when i would install her, i had the error message "No handlers for
>>> package.xml version 2.0"
>>>
>>> I have see that it was normal because, my version was < 1.4.
>>>
>>> I have also make an upgrade and after very difficults, i have win :)
>>>
>>> "pear upgrade PEAR
>>> Package 'PEAR-1.6.1' already installed, skipping"
>>>
>>> But, when i will install MDB2 I have this message:
>>>
>>> pear install MDB2
>>> downloading MDB2-2.4.1.tgz ...
>>> Starting to download MDB2-2.4.1.tgz (119,790 bytes)
>>> ...........................done: 119,790 bytes
>>> No handlers for package.xml version 2.0
>>>
>>> :(
>>>
>>> And if i do a pear -V, i have:
>>> PEAR Version: 1.3.6
>>> PHP Version: 5.0.4
>>> Zend Engine Version: 2.0.4-dev
>>> Running on: Linux sql2 2.6.12-12mdk #1 Fri Sep 9 18:15:22 CEST 2005 i686
>>>
>>>
>>> But my version is the 1.6.x......
>>>
>>> Thanks for your help !
>>
>> Hi,
>>
>> Type these results:
>>
>> php -r "echo get_include_path();"
>> pear config-show |grep php_dir
>>
>> You will see that php_dir is either not in your include_path or is the
>> wrong location. Use
>>
>> pear config-set php_dir <something in your include_path>
>>
>> i.e.
>>
>> pear config-set php_dir /usr/local/lib/php
>>
>> and then run
>>
>> pear upgrade --force PEAR
>>
>> Hope this helps.
>>
>> Greg
>
> thank you very much !
> I had a conflict with the path after an upgrade with a go-pear.php.
>
> I have make an upgrade, and i am in verson 1.6 :)
>
> But I have now a new problem.... :( :(
>
> In my Test'Server test, all is OK, but not in the serveur' Production...
>
> I have this message error:
>
> MDB2 Error: unknown error<br/>execute: [Error message: Binding Values
> failed with message: MDB2 Error: not found]
> [Last executed query: PREPARE
> MDB2_STATEMENT_mysqli_5a6f4273025b44bc072975bc5018a9b9 FROM 'SELECT
> id,nom,nom_fichier FROM rubriques2 WHERE parent_rub=0 and langues=\'fr\'
> and affiche=\'oui\' and valide=\'oui\' order by ordre ']
> [Native code: 0]
>
> My two servers access at the same database, and sur ma server' TEST is OK
> and not in the server' Production
>
> TEST:
> -----
>
> PEAR Version: 5.2.1
> PHP Version: 5.2.1
> Zend Engine Version: 2.2.0
> Running on: Linux TURION 2.6.17-13mdv #1 SMP Fri Mar 23 19:03:31 UTC 2007
> i686
>
>
> Product:
> ------------
> PEAR Version: 1.6.1
> PHP Version: 5.0.4
> Zend Engine Version: 2.0.4-dev
> Running on: Linux sql2 2.6.12-12mdk #1 Fri Sep 9 18:15:22 CEST 2005 i686
>
> If by chance or experience somebody know this problem… :)
>
> I will be try to update Zend, and PHP....
perfect !!!!
I had install the 2.0.4 version, and it is OK !
Thank you very very much !!