Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Symfony3 : “Attempted to load class ”ZipArchive“ from the global namespace. Did you forget a ”use“ statement for ”PHPExcel_Shared_ZipArchive“?” #34

Open
lackynasta opened this issue May 16, 2018 · 0 comments

Comments

@lackynasta
Copy link

lackynasta commented May 16, 2018

I'm using symfony3 and trying to install/use TwigExcelBundle on my ubuntu16 server. I can install it by when I try to use I get the following error :

Attempted to load class "ZipArchive" from the global namespace. Did you forget a "use" statement for "PHPExcel_Shared_ZipArchive"?" at /home/web/dgb/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php line 227

I tried to manually install the php7.0-zip extension but it failed

php -v
PHP 7.0.18-1~dotdeb+8.1 (cli) ( NTS )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant