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?