Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2010 22:10:08 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        doug schmidt <douglas.j.schmidt@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: downgrade php5
Message-ID:  <4BC7C700.1090404@FreeBSD.org>
In-Reply-To: <x2r320306641004150554s63310e13y7885499ee2deba7e@mail.gmail.com>
References:  <x2s320306641004141333l29fbee55x438fef30ff56de44@mail.gmail.com>	 <4BC62EEB.7030806@FreeBSD.org>	 <r2x320306641004141439r40938326r98b15c2efbb746d1@mail.gmail.com>	 <4BC6461B.2060005@FreeBSD.org>	 <i2i320306641004141637hcaee0f29r952ccfbd6e80bc0c@mail.gmail.com>	 <4BC66725.4020709@FreeBSD.org> <x2r320306641004150554s63310e13y7885499ee2deba7e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

doug schmidt wrote:
> On Wed, Apr 14, 2010 at 9:08 PM, Greg Larkin <glarkin@freebsd.org> wrote:
>> Hi Doug,
>>
>> I just realized I should have specified 2010-04-01 as the checkout date,
>> just to be a bit safer.
> 
> Hope this is not a late joke.  8-)

Hi Doug,

No, I just noticed that I should have given you a date much closer to
the final sweeping commit to move from PHP 5.2.x to 5.3.2 that occurred
on 4/9.  I suppose the 4/1 was just a coincidence! :)

> 
>> php5-zip still exists in the ports tree, and a new patch file was
>> imported for the 5.3.2 upgrade.  For any directory that you check out
>> with the datestamp, make sure to do an "rm -rf" on it first to ensure
>> that you don't have a mix of old and new files.
>>
>> After you do that, php5-zip should compile cleanly.
>>
>> Regards,
>> Greg
> 
> php5-zip compiled cleanly. Checking through my php_error.log these ports
> were also removed, and I install them after cvs co.
> 
> php5-wddx
> php5-ming
> php5-dbase
> php5-ncurses
> php5-spl
> 
> Going back to php5-extensions, a make install complains; (about ming,
> dbase, and ncurses)
> 
> [root@test /usr/ports/lang/php5-extensions]# make install
> Unknown extension ncurses for PHP 5.
> *** Error code 1
> 
> Stop in /usr/ports/lang/php5-extensions.
> *** Error code 1
> 
> Stop in /usr/ports/lang/php5-extensions.
> 
> However, checking with our developers, we don't use any of these so
> in, make config I unchecked them.
> php5-extensions install finished. I'll check with our QA folk and see
> that the applications are working.
> 
> thanks again.
> doug

Ah yes, you most likely have to check out an older version of
/usr/ports/Mk/bsd.php.mk, too, because it is going to be tightly coupled
with the PHP-related ports in the tree.  I just started working with the
PHP ports earlier this week (fixing some misc. breakages after the big
upgrade), and I forgot about that file.

One solution I've seen on the mailing lists is to set a datestamp tag in
your ports-supfile and csup the whole tree back to that date.  Of
course, if you rely on some newer ports along with the old PHP ports,
that will be unwieldy.

There are some rumblings about creating a PR to restore PHP 5.2 to the
tree (lang/php52 + extensions), but to say it would be a lot of work to
maintain both release branches in the tree would be the understatement
of the year. I'll keep an eye on how that idea evolves.

I hope your environment is stable again, and please continue to post
with any questions or issues, and we'll do our best to help you resolve
them.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLx8cA0sRouByUApARAvB1AJ9w8Vf6lt1zJHycBqF060tMzIVM/QCfWscg
tRNj2NIJWx1WpftarbAT2gw=
=C6w9
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC7C700.1090404>