On 7/10/06, Ioan Suciu roavia@gmail.com wrote:
i'm tryng to install mediwiki on a free hosting machine, so no support is provided from them. I whatn to know if there is a way to intall it with php safe mode active and memory limit set to 10M.
here is the output of the installation:
MediaWiki 1.7.1 Installation
...
- PHP's memory_limit is 10M. *If this is too low, installation may
fail!* Attempting to raise limit to 20M... failed.
...
*Fatal error*: Allowed memory size of 10485760 bytes exhausted (tried to allocate 85 bytes) in */storage0/home/roavia.evonet.ro/www/includes/Title.php* on line *135*
As you noted, the problem is the 10M limit on PHP. Unless you can raise it, it's not going to work.
Whether or not you can actually raise is going to depend on how php is set up on the server. If it's running php as a cgi, then I think you can have a local php.ini file. Alternately, you might be able to use the php_ini function in LocalSettings.php or somewhere else to raise it:
http://www.phpfreaks.com/tutorials/10/0.php
But this is based on googling, others with more php knowledge might have other ways or clarifications.