Subject: Re: PHP warnings when starting apache
To: Simon Burge <simonb@wasabisystems.com>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: tech-pkg
Date: 04/22/2004 10:41:18
Simon Burge wrote:
> Folks,
> 
> I've just noticed the following warning in my apache log file:
> 
> PHP Warning:  Unknown(): Unable to load dynamic library '/usr/pkg/lib/php/20020429/session.so' - Cannot open &quot;/usr/pkg/lib/php/20020429/session.so&quot; in Unknown on line 0
> PHP Warning:  Unknown(): Unable to load dynamic library '/usr/pkg/lib/php/20020429/pcre.so' - Cannot open &quot;/usr/pkg/lib/php/20020429/pcre.so&quot; in Unknown on line 0
> 
> Looking back through the log file, they seem to have been happening
> ~forever, but they don't appear to be causing any problems
> (ie, squirrelmail still works).  This is on 1.6.2/i386 with a
> couple-of-hours-old pkgsrc.  Any ideas?

Remove extension=session.so & extension=pcre.so from your
php.ini. The modules are now included in the base PHP, they are
not separate modules anymore.

Jaromir

> 
> Simon.
> --
> Simon Burge                                   <simonb@wasabisystems.com>
> NetBSD Development, Support and Service:   http://www.wasabisystems.com/
> 

-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you        -=-
-=- sometimes levitate or glow.   Do not let this distract you.''   -=-