Author |
|
Uli
Joined: 28 Aug 2006 Posts: 17
|
Posted: Fri 04 Dec '15 17:55 Post subject: PHP7 VC14 extensions? |
|
|
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
|
|
Back to top |
|
Uli
Joined: 28 Aug 2006 Posts: 17
|
Posted: Fri 04 Dec '15 20:30 Post subject: |
|
|
Thank for the info. I guess I can't upgrade to PHP7 yet.. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Uli
Joined: 28 Aug 2006 Posts: 17
|
Posted: Wed 09 Dec '15 4:11 Post subject: |
|
|
Yup I saw that, tried that too but it's not working (yet) with PHP7 |
|
Back to top |
|
roysitumorang
Joined: 13 Jul 2015 Posts: 14 Location: Indonesia, Sidikalang
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Uli
Joined: 28 Aug 2006 Posts: 17
|
Posted: Wed 23 Dec '15 21:55 Post subject: |
|
|
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
|
Posted: Wed 23 Dec '15 22:51 Post subject: |
|
|
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: 1266 Location: Amsterdam, NL, EU
|
Posted: Wed 23 Dec '15 23:43 Post subject: |
|
|
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
|
Posted: Thu 24 Dec '15 0:13 Post subject: |
|
|
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
|
Posted: Thu 24 Dec '15 0:38 Post subject: |
|
|
ig_binary.dll fixed the redis problem |
|
Back to top |
|