Autor Zpráva
happymaster23
Profil *
Zdravím,

stáhli jsem si MediaWiki, nahodil instalaci, ale hází to chybu a já nevím co s tím. Píše to tohle:




Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /DISK3/WWW/stranka.cz/wiki/install-utils.inc on line 21
# PHP 5.1.6 installed
# Found database drivers for: MySQL PostgreSQL
#
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 apache2handler; ok, using pretty URLs (index.php/Page_Title)
# Have XML / Latin1-UTF-8 conversion support.
# PHP's memory_limit is 6M. If this is too low, installation may fail! Attempting to raise limit to 20M... failed.
# Have zlib support; enabling output compression.
# Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used.
# GNU diff3 not found.
# Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
# Installation directory: /DISK3/WWW/stranka.cz/wiki
# Script URI path:
# 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
# Loading class: DatabaseMysql
# Attempting to connect to database server as wiki.stranka.cz...success.
# Connected to 5.0.26-log
# Database wiki_stranka_cz exists
# Creating tables... using MySQL 4 table defs... done.
# Initializing data...
# Created sysop account happymaster23.

Fatal error: Allowed memory size of 6291456 bytes exhausted (tried to allocate 58368 bytes) in /DISK3/WWW/stranka.cz/wiki/includes/Article.php on line 2053


nevíte kde je chyba?
děkuji
Acci
Profil
Málo volné paměti pro PHP, zkus napsat poskytovateli svého hostingu.
happymaster23
Profil *
a co je přesně myšleno tou pamětí? Co je to za paměť?

díky
Acci
Profil
V souboru php.ini lze nastavit maximální velikost paměti, kterou může skript použít. Ty jsi máš nastavenou na 6 MB, MediaWiki však potřebuje minimálně 16 MB (lépe však 32 MB).
Toto téma je uzamčeno. Odpověď nelze zaslat.

0