icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » PHPsuexec » php5 version and wikipedia installation

PHPsuexec Information and tips

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old January 25th, 2008, 1:28 PM   #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
sascoms is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 25th, 2008, 2:09 PM   #2 (permalink)
Yabadabadoo
Super #1
 
Geoff's Avatar
 
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,011 posts
Gave thanks: 7
Thanked 28 times
Blog Entries: 1
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?
__________________
Geoff Ellis - Surpass Dedicated Server Customer
www.adepttechs.net
Geoff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 25th, 2008, 3:08 PM   #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.
sascoms is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 25th, 2008, 3:17 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
sascoms is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 25th, 2008, 4:50 PM   #5 (permalink)
Yabadabadoo
Super #1
 
Geoff's Avatar
 
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,011 posts
Gave thanks: 7
Thanked 28 times
Blog Entries: 1
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?
__________________
Geoff Ellis - Surpass Dedicated Server Customer
www.adepttechs.net
Geoff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2008, 12:55 AM   #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
sascoms is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2008, 1:15 AM   #7 (permalink)
Yabadabadoo
Super #1
 
Geoff's Avatar
 
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,011 posts
Gave thanks: 7
Thanked 28 times
Blog Entries: 1
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?
__________________
Geoff Ellis - Surpass Dedicated Server Customer
www.adepttechs.net
Geoff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2008, 1:25 AM   #8 (permalink)
Race Surpass
Super #1
 
MarkRH's Avatar
 
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.
MarkRH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2008, 2:08 AM   #9 (permalink)
Yabadabadoo
Super #1
 
Geoff's Avatar
 
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,011 posts
Gave thanks: 7
Thanked 28 times
Blog Entries: 1
Quote:
Originally Posted by MarkRH View Post
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.
good catch, it might. i think they try and use those search engine friendly urls dont they? lol... im pretty sure wikipedia has some fancy htaccess stuff goin on anyways
__________________
Geoff Ellis - Surpass Dedicated Server Customer
www.adepttechs.net
Geoff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On