Phpexcel cannot read xlsx file, Excel2007 cannot load createReader

$fileType=PHPExcel_IOFactory::identify($filename);
$objReader=PHPExcel_IOFactory::createReader($fileType);

at first, it is set up like this: when the file is xls, fileType is excel5, but if xlsx is changed, there is an error of 5000.It is found that as long as fileType is excel2007, it will make an error

.
Php
Mar.23,2021

to determine that when the xlsx file is imported, load the xlsx file class library


after a mess to solve the problem: install the php-zip extension
how to find the problem: try to use the new version of phpspreadsheet, when the problem cannot be solved, so prepare to load the compose, installation process and report an error. The general content displayed is that the php-zip extension cannot be found. The problem is found.
query the extension of the: Microsoft Office EXCEL 2007 Universe 2010 / 2013 Universe 2016 document. Xlsx started with Office2007 and replaced its current proprietary default file format with a new XML-based compressed file format, adding the letter x (that is, docx instead of doc, .xlsx instead of xls, and so on) after the traditional file name extension to make it take up less space.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3875e-43cfd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3875e-43cfd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?