“Internal Server Error” when converting phpBB v2 to phpBB v3

I’m hosting a little phpBB installation and had some problems with the conversion script that comes with phpBB for the conversion of the forum. It seems that the timeout-values for PHP by 1and1 are set too conservatively. I found that adding the following lines to the “install/install_convert.php” file does the trick (credit for this trick) :

@set_time_limit(0);
@ini_set(‘memory_limit’, ‘256M’);
@ini_set(‘upload_max_filesize’, ‘128M’);
@ini_set(‘post_max_size’, ‘256M’);
@ini_set(‘max_input_time’, ‘-1’);
@ini_set(‘max_execution_time’, ‘-1’);
@ini_set(‘expect.timeout’, ‘-1’);
@ini_set(‘default_socket_timeout’, ‘-1’);

Having the conversion script reload also seems to help a bit…

Comments are closed.