These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Enabling PHP extensions for a domain on the new forum.
Hi,
I have a domain on virtualmin and i edited the php.ini file to add the fileinfo extension by adding extension=fileinfo.so to the file, however that seems not to be working. How exactly do i add a new php module to my domain?
Thanks
Howdy,
First, you'd want to be certain that the fileinfo.so module is installed on your server.
If it is -- you could try pointing to the full path, rather than just the file name. For example, use "extension=/path/to/fileinfo.so".
-Eric
Thanks for the reply, just checked the server and it's not installed. How do i properly install it?
Well, the first step would be to determine if there is a package that includes the fileinfo module available for your distribution.
If not, you may need to manually install fileinfo using PECL.
Note that according to the PECL page, fileinfo is enabled by default in PHP 5.3.x:
http://pecl.php.net/package/Fileinfo