Subject: PHP 5.1.1 problems
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 12/05/2005 09:23:14
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?

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 &quot;./gettext.so&quot; 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