Subject: Re: PHP 5.1.1 problems
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: tech-pkg
Date: 12/05/2005 18:56:20
On Mon, Dec 05, 2005 at 09:23:14AM +0200, Martti Kuparinen wrote:
> Hi!
>
> While trying the new PHP 5.1.1 (I want to solve my signal 11 problems,
> see pkg/32000) I installed PHP 5 and everything seems to be okay except
> I can't load the gettext.so extension. Any ideas what's wrong?
You need to comment out extension_dir in the /usr/pkg/etc/php.ini.
(I've just checked again and gettext.so is loaded fine with
that commented out).
Jaromir
> Martti
>
>
> # pkg_info | grep -e apache -e php
> apache-2.0.55nb2 Apache HTTP (Web) server, version 2
> php-5.1.1nb1 PHP Hypertext Preprocessor version 5
> ap-php-5.1.1nb3 Apache (apache2) module for PHP5
> php-gettext-5.1.1 PHP extension for gettext support
>
>
> # diff -u /usr/pkg/share/examples/php/php.ini-recommended
> /usr/pkg/etc/php.ini
> --- /usr/pkg/share/examples/php/php.ini-recommended 2005-12-05
> 08:45:09.000000000 +0200
> +++ /usr/pkg/etc/php.ini 2005-12-05 09:13:59.000000000 +0200
> @@ -657,6 +657,8 @@
> ;extension=php_tidy.dll
> ;extension=php_xmlrpc.dll
> ;extension=php_xsl.dll
> +;
> +extension=gettext.so
>
>
> PHP Warning: PHP Startup: Unable to load dynamic library './gettext.so' -
> Cannot open "./gettext.so" in Unknown on line 0
> [Mon Dec 05 09:14:13 2005] [notice] Digest: generating secret for digest
> authentication ...
> [Mon Dec 05 09:14:13 2005] [notice] Digest: done
> [Mon Dec 05 09:14:14 2005] [notice] Apache/2.0.55 (Unix) mod_ssl/2.0.55
> OpenSSL/0.9.7d DAV/2 PHP/5.1.1 configured -- resuming normal operations
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=- We can walk our road together if our goals are all the same; -=-
-=- We can run alone and free if we pursue a different aim. -=-