Composer install?

418 views
Skip to first unread message

Roger Crawford

unread,
Apr 4, 2018, 4:40:44 PM4/4/18
to munkireport
Standing up a clean v3 on a Mac High Sierra machine (not running server since soon to be deprecated) 
Trying to be a good soldier and install per the instructions @ https://github.com/munkireport/munkireport-php/wiki/Server-setup
Problem that arises is in the composer install. Have it installed yet running the command as specified: 
"composer install --no-dev --no-suggest --optimize-autoloader" gets me a fail of this nature:

composer install --no-dev --no-suggest --optimize-autoloader

Loading composer repositories with package information

Installing dependencies from lock file

Your requirements could not be resolved to an installable set of packages.


  Problem 1

    - onelogin/php-saml v2.13.0 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.

    - onelogin/php-saml v2.13.0 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.

    - Installation request for onelogin/php-saml v2.13.0 -> satisfiable by onelogin/php-saml[v2.13.0].


Any observations as to where to go from here? m-crypt is deprecated to begin with after PHP 7.1 so that alone isn't a warm and fuzzy but I'm kinda stuck as to where to go from here.


Appreciate it. Thanks. 


Roger Crawford

unread,
Apr 4, 2018, 4:50:23 PM4/4/18
to munkireport
Interestingly enough it looks like there's more to it on the onelogin side : https://github.com/onelogin/php-saml/issues/246

If it matters I'll be using AD auth, not SAML. 

Kyan Hexagon

unread,
Apr 19, 2018, 12:34:05 PM4/19/18
to munkireport
I'm fairly new at this but it looks like there is a problem in the requirements section of your composer.json file.

Munkireports on github has one listed at https://github.com/munkireport/munkireport-php/blob/master/composer.json

I was able to get composer to install it using that but I'm also not using AD auth so I'm not sure if it's the same.

Roger Crawford

unread,
Apr 19, 2018, 1:21:26 PM4/19/18
to munkireport

Yeah, mine's the one bundled with the latest MR version, problem is that the onelogin piece has the mcrypt dependency which they've officially deprecated. It's up and working, I'm just OCD about errors on an install :-)

Thanks!
Reply all
Reply to author
Forward
0 new messages