Author: tsalomon
Description:
Installation impossible with normal procedure: it stops before the end with
"allowed memory size exhausted" error.
Installed on mutualized web server, don't have root access.
Cannot change memory limit in php.ini file, and done in .htaccess but doesn't work.
Creating LocalSettings.php and adding ini_set("memory_limit","20M"); breaks the
installation.
Workaround: manual migration of working mediawiki
- installed on local server (OK, even with same memory limit)
- retrieved database with phpmyadmin and reinserted in remote hosted mediawiki
with phpmyadmin
- copy local LocalSettings.php file to remote mediawiki
It thus have something to do with remote server config: see phpinfo() at this
adress http://www.gers-initiatives.com/test.php
See below installation messages:
- Warning: set_time_limit(): Cannot set time limit in safe mode in
/home/eq21682/html/wiki/install-utils.inc on line 29
- PHP 4.4.0 installed Warning: PHP's register_globals option is enabled.
Disable it if you can. MediaWiki will work, but your server is more exposed to
PHP-based security vulnerabilities.
- Warning: PHP's safe mode is active. You may have problems caused by this,
particularly if using image uploads.
- PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
- Have XML / Latin1-UTF-8 conversion support.
- PHP's memory_limit is 8M. If this is too low, installation may fail!
Attempting to raise limit to 20M... failed.
- Have zlib support; enabling output compression.
- Neither Turck MMCache nor eAccelerator are installed, can't use object
caching functions
- GNU diff3 not found.
- Found GD graphics library built-in, image thumbnailing will be enabled if
you enable uploads.
- Installation directory: /home/eq21682/html/wiki
- Script URI path: /~eq21682/wiki
- Environment checked. You can install MediaWiki.
- Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider
changing it manually.
Generating configuration file...
Database type: mysql
- Attempting to connect to database server as eq21682...success.
- Connected to 4.1.14-log
- Database eq21682 exists
- There are already MediaWiki tables in this database. Checking if updates are
needed...
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 40 bytes) in /home/eq21682/html/wiki/languages/LanguageUtf8.php on line 59
Version: 1.6.x
Severity: major
OS: FreeBSD
Platform: PC