Skip to content

Instantly share code, notes, and snippets.

@hailwood
Created January 14, 2014 00:51
Show Gist options
  • Save hailwood/8411019 to your computer and use it in GitHub Desktop.
Save hailwood/8411019 to your computer and use it in GitHub Desktop.
/var/www$ laravel new tutorial
Crafting application...
PHP Fatal error: Class 'ZipArchive' not found in phar:///usr/local/bin/laravel/src/lib/NewCommand.php on line 52
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/laravel:0
PHP 2. require() /usr/local/bin/laravel:10
PHP 3. Symfony\Component\Console\Application->run() phar:///usr/local/bin/laravel/bin/craft:6
PHP 4. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/laravel/src/vendor/symfony/console/Symfony/Component/Console/Application.php:121
PHP 5. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/laravel/src/vendor/symfony/console/Symfony/Component/Console/Application.php:191
PHP 6. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/laravel/src/vendor/symfony/console/Symfony/Component/Console/Application.php:881
PHP 7. Laravel\Craft\NewCommand->execute() phar:///usr/local/bin/laravel/src/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:241
Fatal error: Class 'ZipArchive' not found in phar:///usr/local/bin/laravel/src/lib/NewCommand.php on line 52
Call Stack:
0.0002 228632 1. {main}() /usr/local/bin/laravel:0
0.0148 617032 2. require('phar:///usr/local/bin/laravel/bin/craft') /usr/local/bin/laravel:10
0.0226 1625824 3. Symfony\Component\Console\Application->run() phar:///usr/local/bin/laravel/bin/craft:6
0.0252 1961560 4. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/laravel/src/vendor/symfony/console/Symfony/Component/Console/Application.php:121
0.0253 1962416 5. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/laravel/src/vendor/symfony/console/Symfony/Component/Console/Application.php:191
0.0253 1962752 6. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/laravel/src/vendor/symfony/console/Symfony/Component/Console/Application.php:881
0.0255 1966680 7. Laravel\Craft\NewCommand->execute() phar:///usr/local/bin/laravel/src/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:241
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment