logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: PHP 7.4.6, 7.3.18, 7.2.31, 7.1, 7.0, 5.6, 5.5, 5.4, 5.3 Page Previous  1, 2, 3 ... 12, 13, 14
Author
Jan-E



Joined: 09 Mar 2012
Posts: 1026
Location: Amsterdam, NL, EU

PostPosted: Sat 09 May '20 20:15    Post subject: Reply with quote

Rerun your build script with nmake snap and they will be copied to the ext folder. Every php_*.dll that you requested in your configure was created.

If you want to use —enable-snapshot, you will have to compile a lot of dependencies as VC9 X64, like libiconv, zlib, enchant etc etc.
Back to top
tanquang



Joined: 21 Mar 2020
Posts: 13
Location: Vietnam

PostPosted: Sun 10 May '20 11:03    Post subject: Reply with quote

Things get more confusing when you don't give an exact guide. This seems too hard...
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1026
Location: Amsterdam, NL, EU

PostPosted: Sun 10 May '20 12:54    Post subject: Reply with quote

That is because you have to use a different method for every dependent lib or dll. Some of them are using Cmake, some Nmake, some a VS2008 project file, some a VS2012 project file with V90 as platform toolset, some are available as download (like the OCI ones), some are even using a GNU 'make' command. There is no simple guide.

For every item in https://github.com/winlibs you will have to find a way to build X64 VC9 versions.
Back to top
mraddi



Joined: 27 Jun 2016
Posts: 110
Location: Schömberg, Baden-Württemberg, Germany

PostPosted: Tue 26 May '20 8:35    Post subject: Reply with quote

Hello,

I am using the php-7.3-nts-x64 available here and trying to load php_redis.dll by adding "extension=php_redis.dll" to the php.ini. Of course the php_redis.dll is available within the ext-folder.
After reloading the service I receive the following errormessage
PHP Warning: PHP Startup: Unable to load dynamic library 'php_redis.dll' (tried: c:\Program Files\PHP7\ext\php_redis.dll (Das angegebene Modul wurde nicht gefunden.), c:\Program Files\PHP7\ext\php_php_redis.dll.dll (Das angegebene Modul wurde nicht gefunden.)) in Unknown on line 0
The interesting information is that php_php_redis.dll.dll could not be loaded - strange file name. Also tried with "extension=redis" instead with this errormessage
PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: c:\Program Files\PHP7\ext\redis (Das angegebene Modul wurde nicht gefunden.), c:\Program Files\PHP7\ext\php_redis.dll (Das angegebene Modul wurde nicht gefunden.)) in Unknown on line 0

After replacing php_redis.dll + php_redis.pdb with the ones available here
https://windows.php.net/downloads/pecl/snaps/redis/5.1.1/
and reloading the service the errormessage is gone and redis is now listed in phpinfo();
Where is my error? What did I do wrong with the php_redis.dll available within the builds available here? Thanks for any helpful information Smile
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1026
Location: Amsterdam, NL, EU

PostPosted: Tue 26 May '20 8:38    Post subject: Reply with quote

php_redis.dll in my builds depends on php_igbinary.dll. So you have to load igbinary first.

In PHP >= 7.2 the recommended syntax is

extension=igbinary
extension=redis

Hence the strange error messages.


Last edited by Jan-E on Tue 26 May '20 8:46; edited 1 time in total
Back to top
mraddi



Joined: 27 Jun 2016
Posts: 110
Location: Schömberg, Baden-Württemberg, Germany

PostPosted: Tue 26 May '20 8:45    Post subject: Reply with quote

@Jan-E
Thanks for the fast response - it is working now with the builds available here Very Happy
Back to top


Reply to topic   Topic: PHP 7.4.6, 7.3.18, 7.2.31, 7.1, 7.0, 5.6, 5.5, 5.4, 5.3 View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads Page Previous  1, 2, 3 ... 12, 13, 14