php - Compiling php_excel (v1.0.0) and LibXL (v3.5.4.1) on Windows -
i've tried compile php extension php_excel (v1.0.0) on vc9 no luck, able provide guidance? i've used notes found on web compiling other php extensions reference there many unknowns, i'm not c developer please bear me. know how compile extensions if able compile me still appreciate it.
update: step-by-step process below compile php_excel extension
installation ============ install microsoft windows server 2003 x86 incl. service packs install microsoft .net framework 2.0 install microsoft windows sdk v6.1 (6.0.6001.18000.367-krmsdk_en.iso) install en_visual_studio_2008_professional_x86_dvd_x14-26326.iso install en_visual_studio_2008_service_pack_1_x86_dvd_x15-12962.iso install microsoft visual c++ 2008 sp1 extract php-sdk-binary-tools-20110915.zip c:\php-sdk extract deps-5.3-vc9-x86.7z c:\php-sdk\phpdev\vc9\x86\deps extract php-5.3.28-src.zip c:\php-sdk\phpdev\vc9\x86\php-5.3.28 open microsoft windows sdk v6.1 > cmd shell commands (to compile php) ========================= setenv /x86 /xp /release cd /d c:\php-sdk\ bin\phpsdk_setvars.bat bin\phpsdk_buildtree.bat phpdev cd /d c:\php-sdk\phpdev\vc9\x86\php-5.3.28 buildconf configure --help configure --enable-apache2-2handler --with-curl --enable-fileinfo --enable-mbstring --enable-mbregex --with-mcrypt --with-openssl --with-pgsql --enable-sockets --with-mysql --with-mysqli --enable-pdo --with-pdo-mysql --with-pdo-mssql --with-pdo-pgsql --enable-soap --with-xmlrpc --with-xsl nmake nmake clean libxl (additional steps) ======================== extract php_excel-1.0.0.zip c:\php-sdk\phpdev\vc9\x86\php-5.3.28\ext\excel extract \libxl-3.5.4.1\include_c\* c:\php-sdk\phpdev\vc9\x86\deps\include\libxl extract \libxl-3.5.4.1\lib\libxl.lib c:\php-sdk\phpdev\vc9\x86\deps\lib\libxl.lib buildconf configure --with-excel=shared nmake
php_excel (branch v1.0.0) https://github.com/iliaal/php_excel/tree/v1.0.0
libxl windows 3.5.4 http://www.libxl.com/download.html
system:
- windows server 2003 r2
- php 5.3
- apache 2.2
- php_excel 1.0.0
- libxl 3.5.4.1
- visual studio 2008 (vc9)
snapshots made available under http://windows.php.net/downloads/pecl/snaps/excel/20140606/
though i'm not sure there's no legal issue redistributing libxl way, no guarantee how long builds may stay there. if you're intended continuously use library, please decide file issue origin repository proposing extension pecl. being in pecl bring many advantages we'll able continuously support it, automatic builds available.
for building extensions yourself, see https://wiki.php.net/internals/windows/stepbystepbuild . important thing regarding vc9 - sure using service pack 1. informed welcome ask questions on pecl mailing lists , #php.pecl on efnet.
just mention - alternative use com_dotnet extension available in core achieve goals.
thanks.
Comments
Post a Comment