On 02/22/15 14:15, Dan Langille wrote:
On Feb 22, 2015, at 3:10 PM, Reindl Harald h.reindl@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) 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) Intl: OK Exif: NOT AVAILABLE(Could be loaded. Please add in php.ini; See 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/
Roundcube Users mailing list users@lists.roundcube.net 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"
$ ls -1p /usr/local/lib/php-5.4/modules mcrypt.so mysql.so pdo_mysql.so pspell.so zip.so