Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 02:24:14 -0500 (CDT)
From:      Lars Eighner <luvbeastie@larseighner.com>
To:        Gary Kline <kline@thought.org>
Cc:        Brad Mettee <bmettee@pchotshots.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: need help with php.
Message-ID:  <20101019022404.E5415@qroenaqrq.6qbyyneqvnyhc.pbz>
In-Reply-To: <20101019062321.GB17898@thought.org>
References:  <20101019033104.GA19320@thought.org> <4CBD1765.9060602@pchotshots.com> <20101019062321.GB17898@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Oct 2010, Gary Kline wrote:

> root@ethic:/usr/local/www/apache22/data# php
> PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
> PHP Warning:  Module 'session' already loaded in Unknown on line 0
>
> 	Does this mean anything obvious to you?  I have my mysql notes
> 	on two other computers and will dig into the matter in the
> 	morning.  IIRC, the mysql stuff shouldn't have any effect on a
> 	counter.

It means a module is listed twice in extensions.ini (usually in
/usr/local/etc/ )  Make the message go away by removing redundant entries
manually or with sort -u.  This warning should be harmless in execution and
usually is only a bother when running command-line one-liners.

Unfortunately, many of the php module ports add themselves to
extensions.ini without checking whether they are already there.  After a few
upgrades you may have many entries for some modules.

Whatever is really wrong with your php, this isn't it.  As I said, harmless,
and generally not noticed except at the command line.


-- 
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101019022404.E5415>