[RCU] Fileino, Mcrypt, Exif

Dan Langille dan at langille.org
Sun Feb 22 21:32:59 CET 2015


> On Feb 22, 2015, at 3:27 PM, Edgar Pettijohn <edgar at pettijohn-web.com> wrote:
> 
> 
> On 02/22/15 14:15, Dan Langille wrote:
>>> On Feb 22, 2015, at 3:10 PM, Reindl Harald <h.reindl at thelounge.net> <mailto:h.reindl at thelounge.net> wrote:
>>> 
>>> 
>>> Am 22.02.2015 um 21:02 schrieb Dan Langille:
>>>> The next couple of extensions are optional and recommended to get the best performance:
>>>> 
>>>> FileInfo:  NOT AVAILABLE(Could be loaded. Please add in php.ini; See http://www.php.net/manual/en/book.fileinfo.php <http://www.php.net/manual/en/book.fileinfo.php>)
>>>> Libiconv:  OK
>>>> Multibyte:  OK
>>>> OpenSSL:  OK
>>>> Mcrypt:  NOT AVAILABLE(Could be loaded. Please add in php.ini; See http://www.php.net/manual/en/book.mcrypt.php <http://www.php.net/manual/en/book.mcrypt.php>)
>>>> Intl:  OK
>>>> Exif:  NOT AVAILABLE(Could be loaded. Please add in php.ini; See http://www.php.net/manual/en/book.exif.php <http://www.php.net/manual/en/book.exif.php>)
>>>> ###
>>>> 
>>>> The link provided for Fileinfo has "This extension has no configuration directives defined in php.ini." (when you dig into the links on the first page)
>>>> 
>>>> I know I have these installed:
>>>> 
>>>> php55-fileinfo-5.5.21
>>>> libmcrypt-2.5.8_2
>>>> php55-mcrypt-5.5.21_1
>>>> php55-exif-5.5.21
>>>> 
>>>> Could someone please indicate what php.ini entries are necessary to get those extensions to work?
>>> are the extension *enabled* and not only installed somewhere?
>>> "php -m" is your friend
>> i see them listed.  What's up with that?
>> 
>> # php -m
>> [PHP Modules]
>> bcmath
>> Core
>> ctype
>> date
>> dom
>> ereg
>> exif
>> fileinfo
>> filter
>> gd
>> hash
>> iconv
>> intl
>> json
>> libxml
>> mbstring
>> mcrypt
>> mhash
>> mysql
>> mysqlnd
>> openssl
>> pcre
>> PDO
>> pdo_sqlite
>> pgsql
>> Phar
>> posix
>> pspell
>> Reflection
>> session
>> SimpleXML
>> SPL
>> standard
>> tokenizer
>> xml
>> xmlreader
>> xmlwriter
>> Zend OPcache
>> zip
>> 
>> [Zend Modules]
>> Zend OPcache
>> 
>> 
>>> extension = "fileinfo.so"
>>> extension = "mcrypt.so"
>>> extnesion = "exif.so"
>> Adding those to php.ini doesn't help.
>> 
>> FYI, FreeBSD 9.3 here.
>> 
>>>> Dan Langille
>> http://langille.org/ <http://langille.org/>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Roundcube Users mailing list
>> users at lists.roundcube.net <mailto:users at lists.roundcube.net>
>> http://lists.roundcube.net/mailman/listinfo/users <http://lists.roundcube.net/mailman/listinfo/users>$ cat /etc/php-5.4.ini | grep modules
> ; 5. The web server's directory (for SAPI modules), or directory of PHP
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "/usr/local/lib/php-5.4/modules"

# grep ext /usr/local/etc/php.ini
extension = "fileinfo.so"
extension = "mcrypt.so"
extension = "exif.so"
extension_dir = "/usr/local/lib/php/20121212"

> 
> $ ls -1p /usr/local/lib/php-5.4/modules
> mcrypt.so
> mysql.so
> pdo_mysql.so
> pspell.so
> zip.so

 ls -1p /usr/local/lib/php/20121212
bcmath.so
ctype.so
dom.so
exif.so
fileinfo.so
filter.so
gd.so
hash.so
iconv.so
intl.so
json.so
mbstring.so
mcrypt.so
mysql.so
opcache.so
openssl.so
pdo.so
pdo_sqlite.so
pgsql.so
phar.so
posix.so
pspell.so
session.so
simplexml.so
tokenizer.so
xml.so
xmlreader.so
xmlwriter.so
zip.so

— 
Dan Langille
http://langille <http://langille/>.org/





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/users/attachments/20150222/fcd61561/attachment-0001.html>


More information about the users mailing list