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.
Any idea what this might be?
Best regards, Richard
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Richard K Miller 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"
Your PHP installation is broken -- either PHP itsemf or the fileinfo module are not properly compiled for your system.
I was able to successfully import a .png file, but not .flv, though $wgFileExtensions includes 'flv'. Adding --extensions=flv didn't help either.
Any idea what this might be?
PNG is detected more easily, and may be avoiding the particular code paths that expose the broken PHP/module installation.
- -- brion
mediawiki-l@lists.wikimedia.org