Php connects to mongoDB. I added mongoDB to php on the official mongoDB website according to his statement. dll extension, but php reports an error saying: it is not a valid Win32 application. I tried it with 32-bit 64-bit, but it does not work, please give me some instructions !!!!!
Reply to discussion (solution)
You cannot see your problem at a glance.
If you do not know whether the reference suggestions are effective, will the PHP version and the PHP version corresponding to the dll file be consistent?
You cannot see your problem at a glance.
If you do not know whether the reference suggestions are effective, will the PHP version and the PHP version corresponding to the dll file be consistent?
Well, I paid special attention to what you said. It should not be the problem. O (∩) O thank you
As you can see, windows extensions are applicable to thread-safe versions, that is, your PHP package must be an ns version rather than an ETS version.
Sorry, I said something wrong upstairs. The short for thread security is ts. for example:
Correct: php-5.2.17-Win32-VC6-x86.zip
Error: php-5.2.17-nts-Win32-VC6-x86.zip