Buenos dias, le comento el trabajo que estamos haciendo, no sabemos si este plan es el correcto
Queremos cambiar el server donde tenemos alojado nuestro guarani (3.17) a uno nuevo.
Lo que hicimos, fue hacer un server nuevo con todos los requirimientos de guarani 3.19
En guarani 3.17 corrimos el comando ./guarani instancia_exp_local
Copiamos la carpeta de guarani al nuevo servidor, en el mismo path
Movimos la base de datos al nuevo servidor
en el server para 3.19 corremos
https://colab.siu.edu.ar/svn/guarani3/nodos/<siglas institución>/gestion/versiones/3.19.x.y --ignore-ancestry
pero cuando corremos
composer install --prefer-dist --no-dev --optimize-autoloader
tenemos los siguientes errores
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for onelogin/php-saml 2.18.1 → satisfiable by onelogin/php-saml[2.18.1].
- onelogin/php-saml 2.18.1 requires ext-mcrypt * → the requested PHP extension mcrypt is missing from your system.
Problem 2
- Installation request for paragonie/halite v1.6.0 → satisfiable by paragonie/halite[v1.6.0].
- paragonie/halite v1.6.0 requires php >=5.6.0 <7.2 → your PHP version (7.3.27) does not satisfy that requirement.
Problem 3
- onelogin/php-saml 2.18.1 requires ext-mcrypt * → the requested PHP extension mcrypt is missing from your system.
- siu-toba/framework v3.0.32 requires onelogin/php-saml ~2.10 → satisfiable by onelogin/php-saml[2.18.1].
- Installation request for siu-toba/framework v3.0.32 → satisfiable by siu-toba/framework[v3.0.32].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.3/cli/php.ini
- /etc/php/7.3/cli/conf.d/10-opcache.ini
- /etc/php/7.3/cli/conf.d/10-pdo.ini
- /etc/php/7.3/cli/conf.d/15-xml.ini
- /etc/php/7.3/cli/conf.d/20-apcu.ini
- /etc/php/7.3/cli/conf.d/20-calendar.ini
- /etc/php/7.3/cli/conf.d/20-ctype.ini
- /etc/php/7.3/cli/conf.d/20-curl.ini
- /etc/php/7.3/cli/conf.d/20-dom.ini
- /etc/php/7.3/cli/conf.d/20-exif.ini
- /etc/php/7.3/cli/conf.d/20-fileinfo.ini
- /etc/php/7.3/cli/conf.d/20-ftp.ini
- /etc/php/7.3/cli/conf.d/20-gd.ini
- /etc/php/7.3/cli/conf.d/20-gettext.ini
- /etc/php/7.3/cli/conf.d/20-iconv.ini
- /etc/php/7.3/cli/conf.d/20-json.ini
- /etc/php/7.3/cli/conf.d/20-mbstring.ini
- /etc/php/7.3/cli/conf.d/20-pdo_pgsql.ini
- /etc/php/7.3/cli/conf.d/20-pgsql.ini
- /etc/php/7.3/cli/conf.d/20-phar.ini
- /etc/php/7.3/cli/conf.d/20-posix.ini
- /etc/php/7.3/cli/conf.d/20-readline.ini
- /etc/php/7.3/cli/conf.d/20-shmop.ini
- /etc/php/7.3/cli/conf.d/20-simplexml.ini
- /etc/php/7.3/cli/conf.d/20-sockets.ini
- /etc/php/7.3/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.3/cli/conf.d/20-sysvsem.ini
- /etc/php/7.3/cli/conf.d/20-sysvshm.ini
- /etc/php/7.3/cli/conf.d/20-tokenizer.ini
- /etc/php/7.3/cli/conf.d/20-wddx.ini
- /etc/php/7.3/cli/conf.d/20-xmlreader.ini
- /etc/php/7.3/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.3/cli/conf.d/20-xsl.ini
- /etc/php/7.3/cli/conf.d/20-zip.ini
- /etc/php/7.3/cli/conf.d/25-apcu_bc.ini
You can also run php --ini
inside terminal to see which files are used by PHP in CLI mode.