logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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 -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP7 VC14 extensions?
Author
Uli



Joined: 28 Aug 2006
Posts: 17

PostPosted: Fri 04 Dec '15 17:55    Post subject: PHP7 VC14 extensions? Reply with quote

hi!
I just installed the 3rd december version of apache 2.4.17 x64 and PHP7. It works but I cannot for the life of me find working modules for:

PHP Warning: PHP Startup: Unable to load dynamic library 'd:\\server\\webserver\\php\\ext\\php_mongo.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'd:\\server\\webserver\\php\\ext\\php_oauth.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'd:\\server\\webserver\\php\\ext\\php_redis.dll' - The specified module could not be found.\r\n in Unknown on line 0

I've tried all the PECLs but they are for PHP5.6(vc11). Does anyone have these extensions for PHP7 (vc14) ?
Cheers
Back to top
roysitumorang



Joined: 13 Jul 2015
Posts: 14
Location: Indonesia, Sidikalang

PostPosted: Fri 04 Dec '15 20:00    Post subject: Re: PHP7 VC14 extensions? Reply with quote

AFAIK, php_mongo still doesn't support PHP 7 yet.

With php_redis, you can download Jan's build at https://www.apachelounge.com/viewtopic.php?t=6359 .
Back to top
Uli



Joined: 28 Aug 2006
Posts: 17

PostPosted: Fri 04 Dec '15 20:30    Post subject: Reply with quote

Thank for the info. I guess I can't upgrade to PHP7 yet..
Back to top
Jan-E



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

PostPosted: Fri 04 Dec '15 22:11    Post subject: Reply with quote

There will never be a php_mongo.dll for PHP7.
http://pecl.php.net/package/mongo/1.6.12/windows

Quote:
* [PHP-1474] - Declare no support for PHP 7

Development is now being done on php_mongodb.dll:
http://pecl.php.net/package/mongodb
Back to top
Uli



Joined: 28 Aug 2006
Posts: 17

PostPosted: Wed 09 Dec '15 4:11    Post subject: Reply with quote

Yup I saw that, tried that too but it's not working (yet) with PHP7 Sad
Back to top
roysitumorang



Joined: 13 Jul 2015
Posts: 14
Location: Indonesia, Sidikalang

PostPosted: Wed 23 Dec '15 3:50    Post subject: Reply with quote

php_mongodb 1.1.1 with PHP 7 support finally released.
You can read the changelog at https://pecl.php.net/package-changelog.php?package=mongodb&release=1.1.1
and download at http://windows.php.net/downloads/pecl/releases/mongodb/1.1.1/
Back to top
Jan-E



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

PostPosted: Wed 23 Dec '15 4:38    Post subject: Reply with quote

I already noticed. I am building PHP 7.0.2RC1 right now with php_mongodb.dll. See this remark as well:

https://github.com/mongodb/mongo-php-driver/issues/181
Back to top
Uli



Joined: 28 Aug 2006
Posts: 17

PostPosted: Wed 23 Dec '15 21:55    Post subject: Reply with quote

I get Fatal error: Uncaught Error: Class 'MongoClient' not found with 1.1.1. ... anyone else?

Also Fatal error: Uncaught Error: Class 'Redis' not found... (from Jan's build)
Back to top
roysitumorang



Joined: 13 Jul 2015
Posts: 14
Location: Indonesia, Sidikalang

PostPosted: Wed 23 Dec '15 22:51    Post subject: Reply with quote

Uli wrote:
I get Fatal error: Uncaught Error: Class 'MongoClient' not found with 1.1.1. ... anyone else?

MongoClient class is not part of php_mongodb.
You can read how to use php_mongodb at http://mongodb.github.io/mongo-php-driver/.

Uli wrote:
Also Fatal error: Uncaught Error: Class 'Redis' not found... (from Jan's build)

Make sure you already have the following line in your php.ini file:
Code:
extension=php_redis.dll
Back to top
Jan-E



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

PostPosted: Wed 23 Dec '15 23:43    Post subject: Reply with quote

Uli wrote:
I get Fatal error: Uncaught Error: Class 'MongoClient' not found with 1.1.1. ... anyone else?
MongoClient is only defined in php_mongo.dll (which will not be ported to PHP7):
http://php.net/manual/en/class.mongoclient.php

Uli wrote:
Also Fatal error: Uncaught Error: Class 'Redis' not found... (from Jan's build)
Load php_redis.dll first.
Back to top
Uli



Joined: 28 Aug 2006
Posts: 17

PostPosted: Thu 24 Dec '15 0:13    Post subject: Reply with quote

Jan-E, php_redis.dll added to php.ini but I get an error
Warning: PHP Startup: Unable to load dynamic library 'd:\server\webserver\php\ext\php_redis.dll' - The specified module could not be found.

Could it be that I'm missing php_igbinary.dll? (error reported from the command line)
Back to top
Uli



Joined: 28 Aug 2006
Posts: 17

PostPosted: Thu 24 Dec '15 0:38    Post subject: Reply with quote

ig_binary.dll fixed the redis problem Smile
Back to top


Reply to topic   Topic: PHP7 VC14 extensions? View previous topic :: View next topic
Post new topic   Forum Index -> Other Software