Home > Backend Development > PHP Tutorial > wampserver cannot load php extension fileinfo

wampserver cannot load php extension fileinfo

WBOY
Release: 2016-08-18 09:16:39
Original
1758 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template