From: Floyd Resler on
I'm getting the following warning when running PHP scripts from the command line:
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

How can I get rid of this? My error report directives are:
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR

Thanks!
Floyd

From: "Jo�o C�ndido de Souza Neto" on
I think the best way is to get rid of trying to get "mcrypt" twice as it
says.

--
Jo�o C�ndido de Souza Neto

"Floyd Resler" <fresler(a)adex-intl.com> escreveu na mensagem
news:845BD9D9-554D-45F6-B1A0-0327B141408D(a)adex-intl.com...
I'm getting the following warning when running PHP scripts from the command
line:
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

How can I get rid of this? My error report directives are:
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR

Thanks!
Floyd


From: Daniel Brown on
On Fri, Sep 17, 2010 at 10:35, Floyd Resler <fresler(a)adex-intl.com> wrote:
> I'm getting the following warning when running PHP scripts from the command line:
> PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0
>
> How can I get rid of this?  My error report directives are:
> error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR

It's a startup error. Check your php.ini and any other
configuration files being loaded and made sure to remove one of the
mcrypt extension entries. You can see all of the files being loaded,
including which files (by location), by checking your phpinfo()
output.

--
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/
From: Floyd Resler on
Thanks for the help. The culprit was in my cli/php.ini file.

Thanks!
Floyd

On Sep 17, 2010, at 10:53 AM, Daniel Brown wrote:

> On Fri, Sep 17, 2010 at 10:35, Floyd Resler <fresler(a)adex-intl.com> wrote:
>> I'm getting the following warning when running PHP scripts from the command line:
>> PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
>>
>> How can I get rid of this? My error report directives are:
>> error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
>
> It's a startup error. Check your php.ini and any other
> configuration files being loaded and made sure to remove one of the
> mcrypt extension entries. You can see all of the files being loaded,
> including which files (by location), by checking your phpinfo()
> output.
>
> --
> </Daniel P. Brown>
> Network Infrastructure Manager
> Documentation, Webmaster Teams
> http://www.php.net/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>