Re: pear & PHP6
| From: | Gregory Beaver | Date: | Sun, 02 Sep 2007 21:22:18 +0000 |
| Subject: | Re: pear & PHP6 | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47909@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
> On 9/2/07, Gregory Beaver <greg@chiaraquartet.net> wrote:
>
>> till wrote:
>>
>>> On 9/2/07, BuildSmart <buildsmart@daleenterprise.com> wrote:
>>>
>>>> On Sep 2, 2007, at 14:47:48, till wrote:
>>>> (...)
>>>>
>>>>> But anyway:
>>>>> http://go-pear.org
>>>>>
>>>> I tried that, it never completes and doesn't give me anything useable.
>>>>
>>>> apache log details:
>>>> Sun Sep 2 15:13:14 2007] [error] PHP Strict Standards: Assigning
>>>> the return value of new by reference is deprecated in /Library/
>>>> WebServer/Documents/go-pear.php on line 770
>>>> (...)
>>>>
>>>> If someone has an installation in /usr/local/pear or /use/local/pear6
>>>> that works with PHP 6 I'd be happy to obtain a copy.
>>>>
>>> Ah! E_STRICT = fatal. There is no compat mode? ;-))
>>>
>>> There is a new installer for PEAR2 in the works, but I forget where
>>> the info is at - maybe on the wiki (0). I don't have PHP6 yet, other
>>> wise I'd give it a go. Otherwise I'd search the archives for
>>> "pyrus".
>>>
>> Hi,
>>
>> I already posted a link to pyrus on internals, which for some reason
>> didn't seem to register. http://svn.pear.php.net is
>> the svn repository
>> for PEAR2, pyrus is the directory for the new installer.
>>
>> magic quotes has been removed from php 6, and there are several other
>> changes that render PEAR unusable in its current state. I have no
>> interest in shooting at a moving target with the existing PEAR
>> installer, but wouldn't turn down a simple patch or two that would make
>> it work.
>>
>>
>
> magic quotes being removed is a *good* thing...
duh :)
The code in PEAR checks for it and disables it if present.
Unfortunately, this uses a function that no longer exists in PHP 6.
Greg