PHP upgrade fails

Zbigniew Szalbot zszalbot at gmail.com
Fri May 21 00:23:35 UTC 2010


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


More information about the freebsd-questions mailing list