Comments (18)
zlib 依赖是否安装?
from php-ext-xlswriter.
from php-ext-xlswriter.
On CentOS, don't build from sources, simply use https://rpms.remirepo.net/
Which have nearly all extensions available, including this one, for all PHP versions (5.4 to 7.4)
from php-ext-xlswriter.
from php-ext-xlswriter.
看了链接 不太明白啊 那如何解决这个扩展安装失败问题?
from php-ext-xlswriter.
https://rpms.remirepo.net/wizard/
选择你的系统版本、PHP版本、安装类型,下面会生成一个使用向导。
from php-ext-xlswriter.
@needrunning 我将重新开启这个 issues ,待解决时关闭。
from php-ext-xlswriter.
Would be nice to use english....
from php-ext-xlswriter.
I will create a new issue to guide the user to use https://rpms.remirepo.net/
Pinned issue #137
from php-ext-xlswriter.
Has your problem been solved?
from php-ext-xlswriter.
Has your problem been solved?
I'm working on something that hasn't been solved yet
from php-ext-xlswriter.
Has your problem been solved?
now I have two problems
one: in order to install pxlswriter via pecl install pxlswriter, Do you need to reinstall PHP?
two: I have runed pecl install pxlswriter in my server ,
As shown below
lude/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/tmp/pear/install/xlswriter/library/include -I/tmp/pear/install/xlswriter -I/tmp/pear/install/xlswriter/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/install/xlswriter/library/third_party/minizip/zip.c -fPIC -DPIC -o library/third_party/minizip/.libs/zip.o
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:160: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘attribute’ before ‘’ token
In file included from /tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:186:
/tmp/pear/install/xlswriter/library/third_party/minizip/crypt.h:35: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
/tmp/pear/install/xlswriter/library/third_party/minizip/crypt.h:48: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
/tmp/pear/install/xlswriter/library/third_party/minizip/crypt.h:65: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
/tmp/pear/install/xlswriter/library/third_party/minizip/crypt.h:94: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c: In function ‘zipOpenNewFileInZip4_64’:
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:1245: error: ‘curfile64_info’ has no member named ‘crypt_header_size’
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:1251: error: ‘curfile64_info’ has no member named ‘pcrc_32_tab’
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:1254: error: ‘curfile64_info’ has no member named ‘pcrc_32_tab’
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:1255: error: ‘curfile64_info’ has no member named ‘crypt_header_size’
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c: In function ‘zip64FlushWriteBuffer’:
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:1375: error: ‘curfile64_info’ has no member named ‘pcrc_32_tab’
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:1375: error: ‘curfile64_info’ has no member named ‘pcrc_32_tab’
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c: In function ‘zipCloseFileInZipRaw64’:
/tmp/pear/install/xlswriter/library/third_party/minizip/zip.c:1610: error: ‘curfile64_info’ has no member named ‘crypt_header_size’
make: *** [library/third_party/minizip/zip.lo] Error 1
from php-ext-xlswriter.
There is 2 ways
1/ build everything from sources (php, libraries, extensions...)
notice : "pecl install" is building from sources
2/ use the package manager and rely on a good packages provider
How was installed you PHP ?
Using "remi" is the most easy way (and the only provider for CentoOS 6, only 3rd party repo only provide new PHP versions for C7)
Nothing need to be built from sources
yum install php-pecl-xlswriter
from php-ext-xlswriter.
@viest BTW, I confirm that building from sources xlswriter using bundled library doesn't work on old CentOS 6 with old compiler and old system tools / libraries.
C6 is now terrible old (9 years), and will be EOL in a few months (Nov 2020).
RPM packages build fine on C6, but only use the system library which is built separately, with another build system (cmake), which probably detect more needed compatibility options.
from php-ext-xlswriter.
@remicollet The serious backwardness of the CentOS version is indeed a problem.
from php-ext-xlswriter.
@remicollet I will post an emergency fix version 1.2.6
from php-ext-xlswriter.
The serious backwardness of the CentOS version is indeed a problem.
https://twitter.com/RemiCollet/status/903155214441738240 ;)
from php-ext-xlswriter.
@remicollet Thank you for your contribution 👍
from php-ext-xlswriter.
Related Issues (20)
- Validation string too long, caused buffer overflow detected
- 设置单元格格式 HOT 1
- 没有找到单元格设置内容颜色功能? HOT 1
- Undocumented cell cache and non-deterministic functions
- 写入图片不支持webp
- constMemory 在1.3.2升级到1.5.5后生成的excel无法打开 HOT 3
- 是不是不能修改现有的excel文件 HOT 1
- 使用内存模式导出,导出过程中CPU很高 HOT 2
- setColumn doesn't change column width if called with explicit null format
- 导出的文件wps能打开,excel打不开 HOT 3
- 当文件名中包含英文冒号时临时文件无法创建 HOT 5
- wps能打开,excel打不开
- 有没有只读的打开方式?
- 【bug】问题比较严重,导出时候丢失部分列 HOT 2
- insertFormula issue
- 读取文件2m以上出现 找不到文件错误
- Does it support excel file to html convertion
- Windows DLL available to download
- 如何在程序中获取PHP-Xlswriter的异常码
- 能文档备注一下,支持插入哪些格式的图片吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-ext-xlswriter.