Re: php upgrade to 5.2.1 fails because of extensions
- From: Karol Kwiatkowski <karol.kwiat@xxxxxxxxx>
- Date: Thu, 22 Feb 2007 13:23:57 +0100
Zbigniew Szalbot wrote:
Hello,
Hi,
I know this is not the php list but looking for your advice. I wanted to
upgraded php 5.1.6 to 5.2.1 because of vulnarabilities but it failed to
install extenstions. There seems to be an error with extenstions in 5.2.1.
What error, which extension? Seems to work fine here:
$ uname -prs
FreeBSD 6.2-STABLE i386
$ pkg_info -Ix php
php5-5.2.1_2 PHP Scripting Language (Apache Module and CLI)
php5-bz2-5.2.1_2 The bz2 shared extension for php
php5-calendar-5.2.1_2 The calendar shared extension for php
php5-ctype-5.2.1_2 The ctype shared extension for php
php5-dom-5.2.1_2 The dom shared extension for php
php5-extensions-1.1 A "meta-port" to install PHP extensions
php5-gd-5.2.1_2 The gd shared extension for php
php5-iconv-5.2.1_2 The iconv shared extension for php
php5-mcrypt-5.2.1_2 The mcrypt shared extension for php
php5-mhash-5.2.1_2 The mhash shared extension for php
php5-openssl-5.2.1_2 The openssl shared extension for php
php5-pcre-5.2.1_2 The pcre shared extension for php
php5-pdo-5.2.1_2 The pdo shared extension for php
php5-pdo_sqlite-5.2.1_2 The pdo_sqlite shared extension for php
php5-posix-5.2.1_2 The posix shared extension for php
php5-session-5.2.1_2 The session shared extension for php
php5-simplexml-5.2.1_2 The simplexml shared extension for php
php5-spl-5.2.1_2 The spl shared extension for php
php5-sqlite-5.2.1_2 The sqlite shared extension for php
php5-tokenizer-5.2.1_2 The tokenizer shared extension for php
php5-xml-5.2.1_2 The xml shared extension for php
php5-xmlreader-5.2.1_2 The xmlreader shared extension for php
php5-xmlwriter-5.2.1_2 The xmlwriter shared extension for php
php5-zlib-5.2.1_2 The zlib shared extension for php
I cannot downgrade (I issued sudo portupgrade -m
-DDISABLE_VULNERABILITIES -f php5 changing the Makefile and distinfo
entries to point to 5.1.6 and issuing make makesum and got):
No, no, no, don't do that :) Changing port version is not simply as
that. Many times you'll need patches for a specific version in
ports_name/files directory. That is why your attempt failed.
Btw, if you really want to downgrade have a look at
ports-mgmt/portdowngrade.
Nor can I upgrade as these php5-extenstions won't install. Could anyone
advise what to do?
Update your ports tree to a clean one (without your modifications to php
port). Try again (be sure to upgrade any required dependencies), send
errors if any.
Regards,
Karol
--
Karol Kwiatkowski <karol.kwiat at gmail dot com>
OpenPGP 0x06E09309
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: php upgrade to 5.2.1 fails because of extensions
- From: Zbigniew Szalbot
- Re: php upgrade to 5.2.1 fails because of extensions
- References:
- php upgrade to 5.2.1 fails because of extensions
- From: Zbigniew Szalbot
- php upgrade to 5.2.1 fails because of extensions
- Prev by Date: Transparent redirect to another interface ?
- Next by Date: Re: vmware Questions
- Previous by thread: php upgrade to 5.2.1 fails because of extensions
- Next by thread: Re: php upgrade to 5.2.1 fails because of extensions
- Index(es):
Relevant Pages
|