Hello all,
I've just tried to install MediaWiki v1.9.1 on one of our servers (Apache on Windows 2000). However, turns out this server is running PHP4 only at the moment. Thus I'll have to install PHP5 - but without endangering the PHP4-application already running on that server.
Is there an easy way to make PHP5 be used only for the .../HTDOCS/WIKI/ folder? (Renaming all wiki-related files to .PHP5 would probably cause a lot of trouble.) I believe the following thread might be what I'm looking for: http://lists.wikimedia.org/mailman/htdig/mediawiki-l/2006-July/013713.html Unfortunately, I don't fully understand those instructions - and I'd rather ask before messing with a live system...
PHPINFO() tells me that the MySQL "Client API version" is 3.23.49 - I guess that'll have to be upgraded as well!? But in contrast to PHP, MySQL is fully compatible with earlier version so it shouldn't break anything - right?
Any help would be greatly appreciated!
-- F.
PS: I hope this is a valid issue for this list. Unfortunately, I can't request help from our IT department, as this wiki project not "officially recognized" yet - and won't be until it's properly set up and ready to prove its worth (kind of a catch-22 there)...
Hi Frederik,
i know that you can install php4/php5 parralell on a server (linux), so i guess, its possible under win as well. Most Webhosters offer to choose php4 or php5 seperately for each subdomain.
But how to configure your webserver for php4/5, this topic should be discussed in a php-forum, e.g. http://www.phpfreaks.com/forums/ (or something else).
Best Regards, Jan
Frederik Dohr schrieb:
Hello all,
I've just tried to install MediaWiki v1.9.1 on one of our servers (Apache on Windows 2000). However, turns out this server is running PHP4 only at the moment. Thus I'll have to install PHP5 - but without endangering the PHP4-application already running on that server.
Is there an easy way to make PHP5 be used only for the .../HTDOCS/WIKI/ folder? (Renaming all wiki-related files to .PHP5 would probably cause a lot of trouble.) I believe the following thread might be what I'm looking for: http://lists.wikimedia.org/mailman/htdig/mediawiki-l/2006-July/013713.html Unfortunately, I don't fully understand those instructions - and I'd rather ask before messing with a live system...
PHPINFO() tells me that the MySQL "Client API version" is 3.23.49 - I guess that'll have to be upgraded as well!? But in contrast to PHP, MySQL is fully compatible with earlier version so it shouldn't break anything - right?
Any help would be greatly appreciated!
-- F.
PS: I hope this is a valid issue for this list. Unfortunately, I can't request help from our IT department, as this wiki project not "officially recognized" yet - and won't be until it's properly set up and ready to prove its worth (kind of a catch-22 there)...
i know that you can install php4/php5 parralell on a server (linux), so i guess, its possible under win as well.
That's good to hear! (I'd already given up hope yesterday... )
But how to configure your webserver for php4/5, this topic should be discussed in a php-forum
Yeah, you're right. In fact, I initially just wanted to ask whether I'd run into problems if I'd rename all PHP files in the WIKI folder to .PHP5 (I'm pretty sure I would, at least if I don't adjust all file references inside the code as well). The posting just turned out to be more PHP-/Apache-specific than originally intended...
Danke Dir!
-- F.
On 30/01/07, Frederik Dohr FDG001@gmx.net wrote:
Yeah, you're right. In fact, I initially just wanted to ask whether I'd run into problems if I'd rename all PHP files in the WIKI folder to .PHP5 (I'm pretty sure I would, at least if I don't adjust all file references inside the code as well). The posting just turned out to be more PHP-/Apache-specific than originally intended...
You should get away with just renaming entry points.
Rob Church
You should get away with just renaming entry points.
Sounds good - but: 1. This "should" kinda scares me (e.g. future updates and extensions would probably cause a lot of trouble). 2. Entry points?? (I guess I kinda know what you mean, but specifically enough to actually be able to edit things accordingly).
-- F.
On 30/01/07, Frederik Dohr FDG001@gmx.net wrote:
- This "should" kinda scares me (e.g. future updates and extensions would probably cause a lot of trouble).
You would need to maintain the renaming across updates and so forth.
- Entry points?? (I guess I kinda know what you mean, but specifically enough to actually be able to edit things accordingly).
* config/index.php [also requires editing to change an internal reference] * index.php * api.php * thumb.php
This is summarised at http://www.mediawiki.org/wiki/User:Robchurch/Getting_PHP_5_on_a_cheap_host#C....
Rob Church
This is summarised at http://www.mediawiki.org/wiki/User:Robchurch/Getting_PHP_5_on_a_cheap_host
Actually, what's more interesting to me is the "Change the default handler" - because that seems to be exactly what I'd asked for in the first place! Merci beaucoup, monsieur Église!
Now I just have to figure out how to install PHP5 alongside PHP4, as well as how to update MySQL without breaking anything - but that should be relatively easy to do, so I should be up and running in no time.
Thanks again for helping me out with this!
-- Frederik
mediawiki-l@lists.wikimedia.org