[Mediawiki-l] importing image from the commandline (solved)

Richard K Miller richardkmiller at gmail.com
Thu Oct 16 23:14:12 UTC 2008


On 10/16/08, Richard K Miller <richardkmiller at gmail.com> wrote:
> I'm getting an error when trying to import an FLV movie via the
> command line:
>
> $ php importImages.php --user=Admin ~/my_images/
> Import Images
>
> Importing my_movie.flv.../libexec/ld-elf.so.1: /usr/local/lib/php/
> 20060613/fileinfo.so: Undefined symbol "php_realpath"
>
> I was able to successfully import a .png file, but not .flv, though
> $wgFileExtensions includes 'flv'. Adding --extensions=flv didn't help
> either.

This isn't a direct solution, but I was able to get it working by
disabling fileinfo (fileinfo.so) in php5-extensions.



More information about the MediaWiki-l mailing list