PHP Fileinfo

sjaakfaal

Verified User
Joined
Feb 14, 2010
Messages
41
Hello,

I am running DA with PHP 5.2.17 on CentOS 5.5. One of my customers (with Joomla!) needs "fileinfo".

This is wat i did so fare:

1. sudo pecl install fileinfo
2. add extension=fileinfo.so to php.ini
3. service httpd restart

When i do "php -m" i see:

PHP Warning: PHP Startup: Unable to load dynamic library './fileinfo.so' - ./fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0

Any help is appreciated!
 
Hello,

Please show the results for

Code:
 egrep "^extension_dir|^extension" /full/path/to/your/php.ini

and

Code:
 grep "^extension_dir" /full/path/to/your/php.ini | cut -d\= -f2 | cut -d\" -f2 | awk '{system("stat "$1"fileinfo.so")}'

Replace /full/path/to/your/php.ini with valid and actual data in both commands.
 
Back
Top