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:
php -v
Open php.ini and find extension=mcrypt.so
extension=mcrypt.so
Comment it by adding a semicolon before the name extension ;extension=mcrypt.so
;extension=mcrypt.so