When I run a command with PHP, it shows me an error. E.g when I run php -v to see my PHP-version it shows me an error then the informations about PHP:
Module 'mcrypt' already loaded in Unknown on line 0
zied@ubuntu:~$ php -v
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP 5.4.25-1+sury.org~quantal+2 (cli) (built: Feb 12 2014 11:11:30)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
Your
php.inicontains two or more of these lines:Remove all except one.
php.iniusually lives in/etc/php.inior/etc/php5/php.ini. Sometimes additional .ini files are included, you can see all of them with: