Edit report at https://bugs.php.net/bug.php?id=57026&edit=1

 ID:                 57026
 Updated by:         [email protected]
 Reported by:        kharris at lhinfo dot com
 Summary:            Cannot install File Info
-Status:             Open
+Status:             Wont fix
 Type:               Bug
-Package:            Fileinfo
+Package:            PECL
 Operating System:   Suse 10 Linux
 PHP Version:        4.4.0
 Block user comment: N
 Private report:     N

 New Comment:

All PHP maintained versions now have fileinfo extension include, so closing.


Previous Comments:
------------------------------------------------------------------------
[2011-09-23 00:14:10] test at test dot com

Install PECL Fileinfo for php 5.2.17 (Below php 5.3.x)

Install all libraries such as m4, automake, autoconf, etc. 
are installed via yum

Before doint this run:
1. locate php/modules
This will show you the location where the file is to be 
copied to after compiling

1. mkdir /temp
2. cd /temp
3. Dowload the package http://pecl.php.net/get/Fileinfo-
1.0.4.tgz
4. Extract using  tar xvf Fileinfo-1.0.4.tgz
5. cd Fileinfo-1.0.4
6. phpize fileinfo (After this new files will be compiled)
7. ./configure (Begin to compile package)
8. make (You should see )

        Libraries have been installed in:
                   /temp/Fileinfo-1.0.4/modules

        .............blah blah ...
        Build complete.
        Don't forget to run 'make test'.

9. cp fileinfo.so /usr/lib64/php/modules/ (In my case this 
is path using locate php/modules. In i386 it might be 
/usr/lib/php/modules)
10. cd /
11. rm -rf temp (Delete the temp folder you created or leave 
it if you use or use it later)
12. locate php.in (Find the main php.ini usually in 
/etc/php.ini or if using vhots, you might want to manually 
edit them all.
13. nano /etc/php.ini
14. Add the following lines:
        
        ;Manually compiled extensions
        extension=intl.so
        extension=fileinfo.so

15. service httpd restart (Restart apache)
16. php -v (Just to check if there are any errors)
17. All done

You can use roundcube mails installer configuration check 
usually "$roundcubeinstalldir/installer/index.php?_step=1 to 
verify if the components are working.

------------------------------------------------------------------------
[2011-07-12 03:15:26] au at gala dot mx

root@abc-money:/usr/bin# pecl install Fileinfo
WARNING: "pear/Fileinfo" is deprecated in favor of 
"channel://php-src/ext/fileinfo/in php sources"
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes
3 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of 
the module

ERROR: `phpize' failed

------------------------------------------------------------------------
[2010-06-21 13:22:59] ted at ligondiscovery dot com

Re: [2007-01-10 01:16 UTC] pecl at demomusic dot nu

"After some googling about where to find magic.h led me to the dead
simple solution:

apt-get install libmagic-dev"

Thanks a lot for the solution, this worked for me!

------------------------------------------------------------------------
[2009-01-09 15:04:07] jhopan at gmail dot com

USE   

YAST   install autoconfig package ant probe again
#pecl install Fileinfo-1.0.4

and thats all.

------------------------------------------------------------------------
[2008-11-23 18:45:07] guenter at grodotzki dot ph

these are my steps:

# cd /usr/src/php-5.2.6/ext
# wget http://pecl.php.net/get/Fileinfo
# tar xvfz Fileinfo
# rm Fileinfo
# cd Fileinfo-1.0.4 Fileinfo
# cd ../
# rm configure
# ./buildconf --force
# ./configure --help | grep fileinfo

but unfortunately nothing is found. I was able to install it on another system 
some months ago with no problems, but no suddenly I can not even find a 
configure option for it.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=57026


--
Edit this bug report at https://bugs.php.net/bug.php?id=57026&edit=1

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to