Posted on 2 Comments

PHP Warning: Module “xxx” is already loaded in Unknown on line 0

After updating a php installation on a webserver I noticed the error that is listed below. This indicates that a module tried to be loaded, but it was running successfully. As a result you should have a duplicate entry of loading the module somewhere.

The error will be shown if you type for example php -v

PHP Warning:  Module "igbinary" is already loaded in Unknown on line 0

Try to locate which module has a duplicate entry. In my example it was igbinary.

php --ini | grep igbinary

Remove the duplicate load and the warning should be dismissed.

2 thoughts on “PHP Warning: Module “xxx” is already loaded in Unknown on line 0

  1. When you say “Remove the duplicate load”, what file should I be editing to remove the duplicate load?

    1. You should delete the file which contains the duplicate load module php command. In my case I had two igbinary files that load the module and I removed the one.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.