Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 02:23:14 +0200
From:      Zbigniew Szalbot <zszalbot@gmail.com>
To:        Yuri Pankov <yuri.pankov@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PHP upgrade fails
Message-ID:  <AANLkTimpiSFi25VfCrlFhb_28fWNoAuyJnkb2LqbmXNl@mail.gmail.com>
In-Reply-To: <20100521001802.GB2276@darklight.org.ru>
References:  <AANLkTimtKEcquXpUmGPZlqdlmwzubJkBMgMhQDEQ44ea@mail.gmail.com>  <20100521000841.51751.qmail@joyce.lan> <AANLkTinHYWQPlILfwaCp2FT2JBl6kOML2lowBFoYfdbv@mail.gmail.com>  <20100521001802.GB2276@darklight.org.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

>> I am lost as to what to do to solve this. Any help will be appreciated!
>
> Did you restart apache after upgrading php...?

Yes, I did!

I think something is wrong. It may be that I upgraded the wrong php
port? My initial command was portupgrade php\*

Anyway, I seem to have the extensions installed but somehow they are missing:
"You should install the PHP MySQL extension!" - a message from one site.

However, it is installed.
 pkg_info -Ix php
php5-5.3.2          PHP Scripting Language
php5-bcmath-5.3.2   The bcmath shared extension for php
php5-bz2-5.3.2      The bz2 shared extension for php
php5-ctype-5.3.2    The ctype shared extension for php
php5-dom-5.3.2      The dom shared extension for php
php5-filter-5.3.2   The filter shared extension for php
php5-gd-5.3.2       The gd shared extension for php
php5-gettext-5.3.2  The gettext shared extension for php
php5-iconv-5.3.2    The iconv shared extension for php
php5-mbstring-5.3.2 The mbstring shared extension for php
php5-mcrypt-5.3.2   The mcrypt shared extension for php
php5-mysql-5.3.2    The mysql shared extension for php
php5-mysqli-5.3.2   The mysqli shared extension for php
php5-openssl-5.3.2  The openssl shared extension for php
php5-posix-5.3.2    The posix shared extension for php
php5-pspell-5.3.2   The pspell shared extension for php
php5-session-5.3.2  The session shared extension for php
php5-simplexml-5.3.2 The simplexml shared extension for php
php5-xml-5.3.2      The xml shared extension for php
php5-zip-5.3.2      The zip shared extension for php
php5-zlib-5.3.2     The zlib shared extension for php
phpMyAdmin-3.3.3    A set of PHP-scripts to manage MySQL over the web

Is there a simple way to remove all php and install again?
Would that work (and be a sensible solution)?
pkg_delete php5*
cd /usr/local
rm etc/php lib/php include/php

Thanks!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl



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