Re: PHP upgrade fails

2010-05-21 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/05/2010 19:01:40, Zbigniew Szalbot wrote: > I cannot find php5-pdf* which I was trying to install. It's called pecl-pdflib Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard

Re: PHP upgrade fails

2010-05-21 Thread Zbigniew Szalbot
Hello, > it is always a good advice to check /usr/ports/UPDATING before you start > upgrading anything, there is a manual in how to upgrade php to version 5.3 > without problems (as far your application runs with 5.3). Absolutely so! I wish I had done that. I still have a strange problem. PHP see

Re: PHP upgrade fails

2010-05-20 Thread Matthias Fechner
Hi, Am 21.05.10 02:23, schrieb Zbigniew Szalbot: I think something is wrong. It may be that I upgraded the wrong php port? My initial command was portupgrade php\* it is always a good advice to check /usr/ports/UPDATING before you start upgrading anything, there is a manual in how to upgr

Re: PHP upgrade fails

2010-05-20 Thread John Levine
>shows me that I still do not have two extensions which I deleted ealier: >php5-pcre >php5-spl They're both built into PHP 5.3. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsub

Re: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
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 extensio

Re: PHP upgrade fails

2010-05-20 Thread Yuri Pankov
On Fri, May 21, 2010 at 02:13:30AM +0200, Zbigniew Szalbot wrote: > >>shows me that I still do not have two extensions which I deleted ealier: > >>php5-pcre > >>php5-spl > > > > They're both built into PHP 5.3. > > Apache error log says: > PHP Fatal error: Call to undefined function preg_match()

Re: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
>>shows me that I still do not have two extensions which I deleted ealier: >>php5-pcre >>php5-spl > > They're both built into PHP 5.3. Apache error log says: PHP Fatal error: Call to undefined function preg_match() in... This seems to suggest I do not have it working and site is blank. php -v P

Re: PHP upgrade fails

2010-05-20 Thread Yuri Pankov
On Fri, May 21, 2010 at 01:55:07AM +0200, Zbigniew Szalbot wrote: > OK. Never declare victory too fast :) > > > Hello again, > > > >> Even after restarting apache php-based pages do not load. Many thanks > >> in advance for further hints! > > OK. I commented the extension=pdf.so in extensions.ini

Re: PHP upgrade fails

2010-05-20 Thread John Levine
> 1) Delete the following packages (if installed): > - php5-dbase > - php5-ncurses > - php5-pcre > - php5-spl > - php5-ming > - php5-mhash > >and then I tried to rebuild php port. > >However, php is not working and the ports cannot be updated. Try reinstalling php5-extensi

Re: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
OK. Never declare victory too fast :) > Hello again, > >> Even after restarting apache php-based pages do not load. Many thanks >> in advance for further hints! > OK. I commented the extension=pdf.so in extensions.ini and php no > longer complains. :) pkg_info -Ix php php5-5.3.2 PHP Scri

Re: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
Hello again, > Even after restarting apache php-based pages do not load. Many thanks > in advance for further hints! OK. I commented the extension=pdf.so in extensions.ini and php no longer complains. :) Thanks! -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl _

Re: PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
Hello, > Try reinstalling php5-extensions, which should rebuild all the ones > that need to be rebuilt. > > The error messages from PHP should give you a hint which libraries > it's looking for. I made some progress but still php -v PHP Warning: Module 'pdf' already loaded in Unknown on line 0 P

PHP upgrade fails

2010-05-20 Thread Zbigniew Szalbot
Hello, long story short - php52 upgarde failed. php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/pdf.so' - Cannot open "/usr/local/lib/php/20090626/pdf.so" in Unknown on line 0 PHP 5.3.2 with Suhosin-Patch (cli) (built: May 20 2010 23:47:26) Copyright