Hello wikitech-l,
I am trying to install the mediawiki-20030829.tar.gz on my webspace as a readonly mirror of the german cur database. I already got it managed to insert the 92MB mysqldump of the german cur_table into my mysql database.
But I can't install the mediawiki. I do have a webspace packet with 200mb space, PHP 4.2.1, Apache 1.3.23 and MySQL 3.23.51-log on Linux 2.4.9-31 RedHat7.2. I also have phpMyAdmin 2.5.1 (but the mediawiki INSTALL file says: Recommended versions are: Apache 1.3.27 or later; MySQL 4.0.13 or later; PHP 4.3.2 or later.)
I do not have the mysql root password, access to the php.ini nor access to a shell. The name and the user of the database as well as the directory on the webspace ("DOCUMENT_ROOT = /www/htdocs/lexion/") are "lexion".
This is what I did: uploaded the phase3 directory from the gzip package to my webspace. Renamed those 2 files to LocalSettings.php and AdminSettings.php. In the localsettings I entered:
$IP = "/www/htdocs/lexion/wiki"; ... $wgServer = "http://www.mydomain.org"; $wgArticlePath = "{$wgScript}?title=$1"; $wgEmergencyContact = "wikiadmin@mydomain.org"; ... $wgDBserver = "localhost"; $wgDBuser = "lexion"; $wgDBname = "lexion"; $wgDBpassword = "well,mypass..."; $wgDBsqlpassword = "well,mypass..."; ... $wgReadOnly = true;
In the adminsettings I also entered my mysql user/pass. Than I added a .htaccess file with: "AddType application/x-httpd-php .php .phtml .php3 .php4" So that the phtml files are also parsed with php.
Than I opened http://www.mydomain.org/phase3/install.php and got: Directory "/www/htdocs/lexion/wiki" created. Directory "/www/htdocs/lexion/wiki/upload" created. Directory "/www/htdocs/lexion/wiki/style" created. Directory "/www/htdocs/lexion/wiki/upload/tmp" created. Copying files... * * * Warning! This script will completely erase the existing database "lexion" and all its contents. Are you sure you want to do this? (yes/no)
I can't answer the questions, since I didn't run it with a shell. And it would be great if I could keep the lexion database with the cur table, it was hard enough to upload and import that 92megs...
If I know access the www.mydomain.org/wiki/wiki.phtml I get a error 503. (Yeahh I know, install isn't finished...)
Please let me know if you know anything that could help me. Is it possible with the conditions mentioned above to install that script? What could I do?
Thank you very much in advance!