Re: downgrade php5



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

doug schmidt wrote:
On Wed, Apr 14, 2010 at 9:08 PM, Greg Larkin <glarkin@xxxxxxxxxxx> 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-----

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: newest PHP port upgrade broke php5-mbstring-5.0.1 ?
    ... > tree with ports-all? ... > portupgrade -a on the updated ports tree and then try to rebuild php. ...
    (freebsd-questions)
  • Re: portaudit php vulnerabilities
    ... tree since then. ... Is my only option to deinstall php until this gets ... not in the ports yet, ... If found it necessary to do some port-related commands even though ...
    (freebsd-questions)
  • Re: HEADS UP: Merge of binutils 2.17
    ... of finding a point in time along the -CURRENT path where the tree is ... update ports tree && ... Having some packages, even a week or so out of date is much better than what we have now. ... Nothin' ever doesn't change, but nothin' changes much. ...
    (freebsd-current)
  • RE: Reflections on Trusting Trust
    ... > tree - which gets back to the issue of trusting the FreeBSD distribution. ... Anyone who is between you and freebsd cvsup server can make his own ports ... yet, installing a ca-root certificates port, downloading a public key or ... resynching your ports tree implies on network transmission of certificates, ...
    (FreeBSD-Security)
  • Re: Hacked - FreeBSD 7.1-Release
    ... I'm in process of upgrading all my ports. ... Next will look into php. ... Make sure that you only grant the minimum necessary permissions ... Where a web application has an administrative mode preferably ...
    (freebsd-stable)