PHP Warning: Module 'ldap' & 'mysql' already loaded when running PHP at command line

Posted by Darryl Hein on Stack Overflow See other posts from Stack Overflow or by Darryl Hein
Published on 2008-10-31T17:22:05Z Indexed on 2010/04/09 9:43 UTC
Read the original article Hit count: 456

Filed under:
|
|

I am getting the following errors:

PHP Warning:  Module 'ldap' already loaded in Unknown on line 0
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0

when running the following command at the command line:

php -c /etc/php.ini /path/to/script.php

/etc/php.ini is the same php.ini that shown in phpinfo().

Any ideas?

© Stack Overflow or respective owner

Related posts about php

Related posts about php.ini