Home  >  Article  >  Backend Development  >  wampserver cannot load php extension fileinfo

wampserver cannot load php extension fileinfo

WBOY
WBOYOriginal
2016-08-18 09:16:391702browse

Very strange problem. I turned on the fileinfo extension in php.ini and restarted apache. I used the print_r(get_loaded_extensions()); command to check the loaded extensions, but I still didn’t see the fileinfo. I restarted the computer and it didn’t work. it works. PHP is using 5.3.10. I wonder if any Taoist friends have encountered this situation? Thank you very much!

Reply content:

Very strange problem. I turned on the fileinfo extension in php.ini and restarted apache. I used the print_r(get_loaded_extensions()); command to check the loaded extensions, but I still didn’t see the fileinfo. I restarted the computer and it didn’t work. it works. PHP is using 5.3.10. I wonder if any Taoist friends have encountered this situation? Thank you very much!

This is usually due to a mismatch between the extension’s compilation environment and PHP.
For example, PHP is 64-bit, while the extension is 32-bit. For details, please add me QQ1065890063

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn