iliaal / php_excel

PHP Extension interface to the Excel writing/reading library
http://ilia.ws
534 stars 131 forks source link

How to get this working on windows wamp stack #225

Closed recci closed 6 years ago

recci commented 6 years ago

I have downloaded the pre-built windows packages which contains:

libxl.dll php_excel.dll php_excel.pdb I have put php_excel.dll in the extension folder and updated the php.ini but its telling me: unable to load dynamic library the specified module could not be found

I tried to also include the libxl.dll but it says its not a php library.

Where do I put the libxl.dll file? and where do I put the php_excel.pdb.

How do I configure this to get it working?

recci commented 6 years ago

I got it working based on this:

Ok I got it working:

Copy libxl.dll to C:\xampp\apache\bin\ and C:\xampp\php. Copy php_excel.dll to C:\xampp\php\ext. add this to php.ini, and restart apache.

[excel] extension=php_excel.dll