Open joaopedroalbernaz opened 9 months ago
PHP Version:
joaopedro@joaopedro-HP-EliteDesk-800-G1-DM:~/oci/oci-arm-host-capacity$ php -v PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.2, Copyright (c) Zend Technologies with Zend OPcache v8.1.2-1ubuntu2.14, Copyright (c), by Zend Technologies
Composer Version:
`joaopedro@joaopedro-HP-EliteDesk-800-G1-DM:~/oci/oci-arm-host-capacity$ composer
/ __/_ __ _ ____ / / / \/ ` \/ \/ \/ / _ \/ / / // // / / / / / / // / // ( ) / / __/__// // // ./__/__/\// // Composer version 2.6.2 2023-09-03 14:09:15 `
It means you either never run composer install
or it didn’t end up successfully
please check the output of composer install
/composer update
and make sure that php-curl
and php-dom
are installed
apt-get install composer php-curl php-dom
I keep getting this error:
joaopedro@joaopedro-HP-EliteDesk-800-G1-DM:~/oci/oci-arm-host-capacity$ ls composer.json composer.lock images index.php LICENSE README.md src tests
joaopedro@joaopedro-HP-EliteDesk-800-G1-DM:~/oci/oci-arm-host-capacity$ php index.php PHP Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in /home/joaopedro/oci/oci-arm-host-capacity/index.php on line 8 PHP Fatal error: Uncaught Error: Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in /home/joaopedro/oci/oci-arm-host-capacity/index.php:8 Stack trace:
0 {main}
thrown in /home/joaopedro/oci/oci-arm-host-capacity/index.php on line 8
I tried with sudo but get the same error. This autoload.php is nowhere to be found