fileinfo configure error please reinstall the libmagic distribution Marshalltown Iowa

Homes / Houses Houses Houses / Homes

Address 128 Main St W, State Center, IA 50247
Phone (641) 483-7701
Website Link http://pcctel.net
Hours

fileinfo configure error please reinstall the libmagic distribution Marshalltown, Iowa

Please reinstall the mysql distribution **ERROR** Could not configure PHP build. error: Please reinstall the libmagic distribution. . Check your database by trying to compile it with file command, like this:

cd /etc/magic
file -C -m magic
file -C -m magic.mime

b. up down -3 Alexey ¶9 No need to be fancy, just an overview.

For integrating the extension into php I added a file to the php-Directory via vi /usr/local/php5/php.d/50-extension-fileinfo where I simply added the line extension=fileinfo.so

And finaly the restart of the WebServer but when i try to install php4-extension (mysql, mssql, etc ...) an get an error. It breaks the -i functionality of the file command, causing it to return the human-readable string instead of the MIME type. But the pear command said that 'Package "Fileinfo" is not valid,install failed'.

that is also 5.3 and i get the same result : ===> PHPizing for pecl-fileinfo-0.2 autoheader253: `config.h.in' is unchanged Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend yes checking whether we are cross compiling... The final step to activate the Fileinfo extension is to restart the web server. Take our User Survey NOW!

And so it was. not found
configure: error: Please reinstall the libmagic distribution

zypper install file-devel up down -3 hari_1983 at yahoo dot com ¶9 years ago Actually for RPM users file-devel Reply Pancho says: November 15, 2014 at 1:38 am Thak you very much! Learn more. ✕ advbackup Blog Home Fileinfo Please Reinstall The Libmagic Distribution - Free Software and Shareware 5/21/2016 0 Comments PHP: Fileinfo Functions - Manual.

Please try 1.0.4 version of fileinfo. . If you have Debian based system you can simply install it with apt. . 23,552 bytes 3 source files, building running: phpize Configuring for: PHP Api. It also results in finfo doing the same.

So, it is probably better to actually specify the path to the magic file correctly when instantiating your finfo object:

It gave proper answers for 1 & 3 and identified the PHP file as 'text/plain' which is probably better than a false match for C++

Both finfo_file and MIME_Type correctly Reply Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website Categories Linux Photography Php Scrambled Wordpress Plugin Blogroll Desktop fonts Download Free Fonts Font Ocean Hdr Photos Pcristi Links Android, iOS I tried building fileinfo on my iBook using 'pecl install fileinfo' and still get the same 'please reinstall libmagic distribution' message.

Thanks for your detailed information and hope that will work for me just fine. I installed that (on open. I was about to do that (Googled it )I did that and re- ran it. Any help will be highly appreciated.   Top Log in or register to post comments Fri, 2013-11-01 13:14 #2 ethancaleb.ec Basic steps to install the Fileinfo PECL module cd /usr/src
wget http://pecl.php.net/get/Fileinfo-1.0.4.tgz
tar

Speed Support Forums. I got this error. Add extension=fileinfo.so and then press to exit insert mode and return to command mode. First of all, I tried with "pear install fileinfo" - as the manual says.

error: Please reinstall the libmagic distribution. your continued support of PECL. It is intended for the addressee(s) only. make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1. .

At least if it works…. I searched the google and i found something about libmagic and to reinstall it. please use following command. [RESOLVED] PHP Installation Errors. error: Please reinstall the libmagic distribution.

No Problem I thought: Installing a PECL-Extension isn't hard work. on Some important logs and config files locationArchives October 2016 May 2016 January 2016 October 2015 August 2015 July 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December not found configure: error: Please reinstall the libmagic distribution ===> Script 'configure. . Please report the problem to ale at FreeBSD.org [maintainer] and attach the "/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-0.2/config.log" including the output of the failure of your make command.

Blog Home ✕ php4-extensions Cristi Tauber cristi.tauber at sbhost.ro Tue Nov 23 23:13:38 PST 2004 Previous message: GEOM vs. If you have Debian based system you can simply install it with apt.
But if you have an rpm based system (like me), you have to download the following package:

Top Log in or register to post comments Thu, 2013-12-12 14:25 #6 DerCoder I found a solution for Debian: apt-get install libvarnishapi-dev Top Log in or register to post comments Thu, not able to install it... Regards Rate this post 3 Responses to " "install fileinfo with pecl problem on centos" webwiki says: January 13, 2013 at 10:50 am Thanks for the post. Type :wq to exit vi and save your changes.

not found configure: error: Please reinstall the varnish distribution ERROR: `/tmp/pear/install/varnish/configure' failed I am not sure why is this happening. your continued support of PECL. not found configure: error: Please reinstall the libmagic distribution ERROR. Please notify the sender and return it.Thank you.

yes checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM checking for PHP extension directory... /usr/local/lib/php/20020429 checking for re2c... add a note. show source | credits | sitemap | contact. Solution: apt- get install libxml.