|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Sep 2003
47 posts
Gave thanks: 4
Thanked 5 times
|
php5 version and wikipedia installation
hi,
i tried to install mediawiki 1.11.1 on one of my sites. however, the installation comes to a point and stops. no error. no msg. the same thing occurred during the mantis installation as well. yet, i succeeded in installing mantis with tricks. however, i failed to install mediawiki. whatever i did, i could not make it work. mediawiki requires php5 and mysql. i switched to php5 via htaccess file. when i failed to make it work, i tried to find why? i suspect php5 version. we have 5.1.4 on pass40. however the latest version is 5.2.5. now, i have some questions. i will be pleased if somebody who experienced such problems give some information to me: -is there anyone who made mediawiki work on surpass? -if yes, how? -if no, any solution? -why our php5 version is old? as a last note, i installed mediawiki successfuly on my local pc. thanks...
__________________
server: pass40 |
|
|
|
|
|
#2 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
|
i havent used mediawiki, but normally small version changes like 5.1 to 5.2 dont include huge feature changes, usually just bug fixes? so i dont think that would make a huge deal.
however, there might be other restrictions, like safe mode, or fopen being disabled, or any number of configuration options that could restrict the proper function of a script, and we'd need more information regarding whats happening? "just stops". does that mean the next page doesnt load? or does time out? does it just show a white/blank page? or does it mean that the page loads but you cant do anything? at what point in the installation does it "stop"? after setting up a config file? populating the database? setting up an admin account? |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Seasoned Poster
Joined in Sep 2003
47 posts
Gave thanks: 4
Thanked 5 times
|
Geoff,
thanks for the reply. Here is the web installation script output. The installation stops at just after it created the tables. This is the problematic installation output: MediaWiki 1.11.1 Installation * Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... Please include all of the lines below when reporting installation problems. * PHP 5.1.4 installed * Found database drivers for: MySQL * PHP server API is cgi; using ugly URLs (index.php?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. * PHP is configured with no memory_limit. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. * Found GNU diff3: /usr/bin/diff3. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/xxxx/public_html/wikidir * Script URI path: * Installing MediaWiki with php file extensions * Environment checked. You can install MediaWiki. * Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql * Attempting to connect to database server as xyzz_wiki...success. * Connected to 4.1.22-standard * Database xxyd_wikidb exists * Creating tables... done. * Initializing data... nothing after the line above! [i am installing it on my local pc. after i finish i will paste the output of this local installation. so that it will be clearer.] What i did to bypass these errors: i installed mediawiki on local pc. then uploaded the local files to my server. changed the LocalSettings.php (created by installation script) settings to suit database user pass etc. [correction:] i get 500 internal server error when i browse index page of mediawiki.
__________________
server: pass40 Last edited by sascoms; January 25th, 2008 at 3:21 PM. |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Seasoned Poster
Joined in Sep 2003
47 posts
Gave thanks: 4
Thanked 5 times
|
ok, here is the local pc installation:
environment is xampp on windows xp without any errors, everything was okey -------------------------------------------- MediaWiki 1.11.1 Installation * Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... Please include all of the lines below when reporting installation problems. * PHP 5.2.0 installed * Found database drivers for: MySQL PostgreSQL * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Session save path (D:\Program Files\xampp\tmp) appears to be valid. * PHP is configured with no memory_limit. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. * GNU diff3 not found. * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. * Installation directory: D:\Program Files\xampp\htdocs\tmp\mediawiki * Script URI path: /tmp/mediawiki * Installing MediaWiki with php file extensions * 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 root...success. * Connected to 5.0.27-community * Database wikidb exists * Creating tables... done. * Initializing data... * Created sysop account admin. * Creating LocalSettings.php... Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki.
__________________
server: pass40 |
|
|
|
|
|
#5 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
|
hm, to me it looks like its stalling at populating the database. I dont see a reason for it though, it specifically states it can conntect to the database, and creates the table
now it might be having trouble just creating the LocalSettings. If you can use phpMyAdmin, check to see if the tables have any data. If they do, you may only need to manually set up the LocalSettings file. if they dont have data, then im really not sure why, maybe check the permissions and make sure that the account you have set up allows full privalages on the database, and not just partial? |
|
|
|
|
|
#6 (permalink) |
|
Registered User
Seasoned Poster
Joined in Sep 2003
47 posts
Gave thanks: 4
Thanked 5 times
|
hello again,
the installation script generates and populates the new db tables. i checked the tables. there does not seem any problem. after all, i succeeded to make the installation generate the localsetttings.php file. i did this bu commenting some lines in the installation script. however, when i browse the index page, i get internal server error on the browser. ![]() by the way, i think i opened this topic in the wrong forum. it must be under php-mysql forum. i will be pleased if the admins can move this to the right forum. thanks..
__________________
server: pass40 |
|
|
|
|
|
#7 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
|
internal server errors are usually permissions related? try chmod'ing the files to 755? that might fix the problem. in particular, start with the index, if that works, try any others you have issues with?
|
|
|
|
|
|
#8 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,103 posts
Gave thanks: 17
Thanked 79 times
|
Might also check the .htaccess file in the directory to see if the installation script or something monkeyed around with it. Badly formed .htaccess files will cause server errors as well.
I've never installed it myself so I don't know if would mess with that file or not.
__________________
|
|
|
|
|
|
#9 (permalink) | |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
|
Quote:
|
|
|
|
|