Subject: apache - php - squirrelmail
To: None <netbsd-help@netbsd.org>
From: Carlo Smith <postfix2002@hotmail.com>
List: netbsd-help
Date: 11/02/2002 18:57:40
Im trying to install squirrelmail but seem to run into some problem with php
on apache see following error in error_log from apache:
[Sat Nov 02 19:42:46 2002] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
PHP Warning: Unable to load dynamic library
'./usr/pkg/lib/php/20020429/session.so' -
./usr/pkg/lib/php/20020429/session.s
o: Undefined symbol "executor_globals" (reloc type = 6, symnum = 53) in
Unknown on line 0
PHP Warning: Unable to load dynamic library
'./usr/pkg/lib/php/20020429/pcre.so' - ./usr/pkg/lib/php/20020429/pcre.so:
Und
efined symbol "executor_globals" (reloc type = 6, symnum = 47) in Unknown on
line 0
[Sat Nov 02 19:42:50 2002] [notice] Digest: generating secret for digest
authentication ...
[Sat Nov 02 19:42:50 2002] [notice] Digest: done
[Sat Nov 02 19:42:51 2002] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43
OpenSSL/0.9.6g DAV/2 PHP/4.2.3 configured -- resumi
ng normal operations
PHP Fatal error: Call to undefined function: preg_replace() in
/usr/pkg/share/squirrelmail/src/global.php on line 58
Added lines to:
/usr/pkg/etc/php.ini
extension_dir = ./usr/pkg/lib/php/20020429 (also without)
extension=session.so
extension=pcre.so
httpd.conf
LoadModule php4_module lib/httpd/mod_php4.so
AddType application/x-httpd-php .php
Running apache 2.0.43, php 4.2.3 & squirrelmail 1.2.9
-Carlo-
_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN.
http://resourcecenter.msn.com/access/plans/2monthsfree.asp