Topic on Project:Support desk

[RESOLVED] Problem moving images between wikis (segmentation fault on Centos)

3 (talkcontribs)


I have a private enterprise wiki ver 1.23

  • on CENTOS 7
  • with MariaDB Distrib 5.5.37
  • with PHP 5.4.16

This is a new installation.

I'm trying to import images from another wiki. I'm trying the following command.

[root@wikitemp maintenance]# php importImages.php ../images_to_import/

The result is:

Import images

Importing foto.jpg...Segmentation fault (core dumped)

I have also tried to put

$wgMaxShellMemory = 10000000;
$wgUseImageMagick = false;

in LocalSettings.php

and put in php.ini


Do you have any idea?

Is there another way to import images?

Thanks a lot.

Ennio Balocchi

Ciencia Al Poder (talkcontribs)

The "segmentation fault" error indicates a bug in PHP. You should try upgrading PHP to see if that fixes the issue (talkcontribs)


it's true! Thanks.

Actually, the only way for Centos 7 is compiling php 5.4.33.

I have done the following: yum remove php php-mysql yum install xml2-devel yum install httpd-devel ./configure --with-mysql


and in httpd.conf

<FilesMatch \.php$>

   SetHandler application/x-httpd-php




Reply to "[RESOLVED] Problem moving images between wikis (segmentation fault on Centos)"