Hi, wrong list for my first try, I hope this is now the right list :).
-----Forwarded Message-----
From: Laurent GUERBY laurent@guerby.net To: Wikimedia developers wikitech-l@Wikipedia.org Subject: Re: [Wikitech-l] MediaWiki 1.3.0beta2 released Date: Sun, 06 Jun 2004 19:30:13 +0200
Hi, I'm not sure if this list is the preferred channel to report installation problem, if not please tell me what is the preferred channel :). My machine is running SuSE 9.1 professional, no preexisting wiki database, Apache/2.0.49, PHP 4.3.4, MySQL 4.0.18.
In config/index.php I had to comment the zlib setup line otherwise the install would just hang after printing "Script URI path: /wiki":
## Compress output if the browser supports it #{$zlib}if( !ini_get( 'zlib.output_compression' ) ) ob_start( 'ob_gzhandler' );
http://se.php.net/manual/en/function.ob-start.php says some thinsg about ob_start and Apache 2:
<< jkloss at hotmail dot com 17-Mar-2004 01:20 If ob_start does not seem to be working for you, note that with Apache 2 the flush() function causes PHP to send headers regardless of whether ob_start had been called before flush.
ob_start(); echo 'test'; flush();
will cause Apache 2 to send whatever headers may be stacked up - which means you can't use a header(location:xxx) after the flush. To fix, remove the flush(). Spent several hours discovering this. Apache 1.x didn't work this way.
But I'm no PHP expert so I'm not sure it's relevant and what to do.
Even with this I got an error a bit later see below. May be I need to change some PHP settings, from phpinfo it looks like I have "memory_limit 8M", I tried 80M and the install worked. What value should we recommend here?
BTW, wikipedia.org seems down right now, it would be nice to include a recent english version of "Editing Help" with the mediawiki release tarball. I'm using the google cached version right now :).
Thank you in advance,
Laurent
<< MediaWiki 1.3.0beta2 installation Please include all of the lines below when reporting installation problems.
Checking environment... PHP 4.3.4 ok PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have zlib support; enabling output compression. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /srv/www/htdocs/wiki Script URI path: /wiki Connected as root (automatic) Connected to database... 4.0.18; enabling MySQL 4 enhancements Created database wikidb Creating tables... done. Initializing data... Created sysop account WikiSysop. Initialising log pages... Initialising "MediaWiki" namespace... Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 751891 bytes) in /srv/www/htdocs/wiki/includes/Parser.php on line 755 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes) in Unknown on line 0
mediawiki-l@lists.wikimedia.org