Closed studentforever-yahoo closed 7 years ago
- intervention/image 2.3.x-dev requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
You have to enable the fileinfo extension.
Thanks for the info: I have added the line in php.ini under PHP install
extension=php_fileinfo.dll
then restarted IIS
and now ran composer install again which is giving me following:
C:\inetpub\wwwroot\snipe-it>composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file
symfony/var-dumper suggests installing ext-symfony_debug () symfony/translation suggests installing symfony/config () symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader) symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For using expression matching) symfony/event-dispatcher suggests installing symfony/dependency-injection () symfony/http-kernel suggests installing symfony/class-loader () symfony/http-kernel suggests installing symfony/config () symfony/http-kernel suggests installing symfony/dependency-injection () psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :)) psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.) psy/psysh suggests installing ext-posix (If you have PCNTL, you'll want the POSIX extension as well. ) psy/psysh suggests installing ext-readline (Enables support for arrow-key history navigation, and sh owing and manipulating command history.) paragonie/randomcompat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.) monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server ) monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ req uired)) monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server) monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 serv er) monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver) monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP s erver using php-amqplib) monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Ch rome) monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar) monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server) monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server) league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with A WS SDK v2) league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with A WS SDK v3) league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob st orage) league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator fo r metadata caching) league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage) league/flysystem suggests installing league/flysystem-dropbox (Allows you to use Dropbox storage) league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use Eventa bleFilesystem) league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud F iles) league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage vi a phpseclib) league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage) league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapt er) laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 d river (~1.0).) laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rack space driver (~1.0).) laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3 .0).) laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drive rs (~1.0).) laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~2.0).) laravel/framework suggests installing symfony/psr-http-message-bridge (Required to use psr7 bridging features (0.2.).) aws/aws-sdk-php suggests installing aws/aws-php-sns-message-validator (To validate incoming SNS noti fications) aws/aws-sdk-php-laravel suggests installing laravel/lumen-framework (To test the Lumen bindings) maximebf/debugbar suggests installing kriswallsmith/assetic (The best way to manage assets) maximebf/debugbar suggests installing predis/predis (Redis storage) intervention/image suggests installing ext-imagick (to use Imagick based image processing.) intervention/image suggests installing intervention/imagecache (Caching extension for the Interventi on Image library) maknz/slack suggests installing maknz/slack-laravel (Required for Laravel support) maknz/slack suggests installing nexylan/slack-bundle (Required for Symfony bundle support) sebastian/global-state suggests installing ext-uopz (_) phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1) phpunit/phpunit suggests installing phpunit/php-invoker (~1.1) facebook/webdriver suggests installing phpdocumentor/phpdocumentor (2.*) codeception/codeception suggests installing codeception/phpbuiltinserver (Extension to start and sto p PHP built-in web server for your tests) codeception/codeception suggests installing codeception/specify (BDD-style code blocks) codeception/codeception suggests installing codeception/verify (BDD-style assertions) codeception/codeception suggests installing phpseclib/phpseclib (Extension required to use the SFTP option in the FTP Module.) codeception/codeception suggests installing symfony/phpunit-bridge (For phpunit-bridge support) phpspec/phpspec suggests installing phpspec/nyan-formatters (~1.0 ΓÇô Adds Nyan formatters) Generating autoload files [codeception/c3] c3.php is already up-to-date
php artisan clear-compiled php artisan optimize Generating optimized class loader Compiling common classes
C:\inetpub\wwwroot\snipe-it>
Do i have to re run the key generation?
If you've copied over the .env.example to .env, yes
Thanks for the help. Please guide.
yes, i have copied the .env and after that i have ran again C:\inetpub\wwwroot\snipe-it>php artisan key:generate
Still, I am getting a " waiting for local host " when loading the webpage then it says cannot find.
I have found one thing which i have fixed in my .env file
changed APP_URL from APP_URL=http://localhost/snipeit to APP_URL=null
Restarted IIS and now i can see the Snipe-IT Pre-Flight page, which crashed on the page where we have to create a new user.
But after that it is showing this:
Debugger on IE
<!DOCTYPE html>
```Sad panda. We could not find the page you were looking for. You should maybe return to the dashboard.
Following is the Chrome debugging and has following when i go to localhost/snipe-it
@snipe : please guide. Thanks. Issue ticket has been closed.
You cannot set the APP_URL to null. It will break just about everything
Hi, similar to https://github.com/snipe/snipe-it/issues/1452 I have the same issue or similar issue, where i cant see any page when opened http:\localhost and http:\localhost\snipe-it
C:\inetpub\wwwroot\snipe-it>dir Volume in drive C is SysVol Volume Serial Number is 38DE-C948
Directory of C:\inetpub\wwwroot\snipe-it
03/10/2016 12:12 PM
C:\inetpub\wwwroot\snipe-it>php artisan key:generate
C:\inetpub\wwwroot\snipe-it>composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages.
Problem 1
intervention/image dev-master requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
To enable extensions, verify that they are enabled in those .ini files:
php --ini
inside terminal to see which files are used by PHP in CLI mode.C:\inetpub\wwwroot\snipe-it> C:\inetpub\wwwroot\snipe-it>php artisan app:install --env=production C:\inetpub\wwwroot\snipe-it>
The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that$ has Read access to the physical path. Then test these settings again.
file: .env.example
--------------------------------------------
REQUIRED: BASIC APP SETTINGS
--------------------------------------------
APP_ENV=production APP_DEBUG=false APP_KEY=ChangeMe APP_URL=http://localhost/snipeit APP_TIMEZONE='Australia/Melbourne' APP_LOCALE=en
--------------------------------------------
REQUIRED: DATABASE SETTINGS
--------------------------------------------
DB_CONNECTION=mysql DB_HOST=localhost DB_DATABASE=snipeit DB_USERNAME=root DB_PASSWORD=root DB_PREFIX=null DB_DUMP_PATH='C:\Program Files\MySQL\MySQL Server 5.5\bin'
--------------------------------------------
REQUIRED: OUTGOING MAIL SERVER SETTINGS
--------------------------------------------
MAIL_DRIVER=smtp MAIL_HOST=email-smtp.us-west-2.amazonaws.com MAIL_PORT=587 MAIL_USERNAME=YOURUSERNAME MAIL_PASSWORD=YOURPASSWORD MAIL_ENCRYPTION=null MAIL_FROM_ADDR=you@example.com MAIL_FROM_NAME='Snipe-IT'
--------------------------------------------
REQUIRED: IMAGE LIBRARY
This should be gd or imagick
--------------------------------------------
IMAGE_LIB=gd
--------------------------------------------
OPTIONAL: SESSION SETTINGS
--------------------------------------------
SESSION_LIFETIME=12000 EXPIRE_ON_CLOSE=false ENCRYPT=false COOKIE_NAME=snipeit_session COOKIE_DOMAIN=null SECURE_COOKIES=false
--------------------------------------------
OPTIONAL: CACHE SETTINGS
--------------------------------------------
CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=sync
--------------------------------------------
OPTIONAL: AWS S3 SETTINGS
--------------------------------------------
AWS_SECRET=null AWS_KEY=null AWS_REGION=null AWS_BUCKET=null
--------------------------------------------
OPTIONAL: MISC
--------------------------------------------
APP_LOG=single APP_LOCKED=false FILESYSTEM_DISK=local APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1 ALLOW_IFRAMING=false
Environment: 2008 R2 IIS 7.5