I'm seeing a few reports that people are running into trouble running MediaWiki on Apache 2.4.
The reports seem focused on XAMPP, but I tried to run MW against the Apache 2.4 package on Debian and didn't succeed. Granted, I tried only for 5 minutes or so.
Is this something we should document?
On Thu, Apr 25, 2013 at 11:28 AM, Mark A. Hershberger mah@everybody.orgwrote:
I tried to run MW against the Apache 2.4 package on Debian and didn't succeed
How exactly did it not succeed? That's a pretty serious bug.
*-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com
On 04/25/2013 11:42 AM, Tyler Romeo wrote:
How exactly did it not succeed? That's a pretty serious bug.
I did say I didn't try very hard. I'm not sure php even works with apache 2.4 which is labeled "experimental" on Debian.
So five minutes was about enough to apt-get the apache 2.4 package and dependencies and go to the URL that it was already set up on and see that it didn't work.
If you'd like me to test some more, I can. But I was hoping someone else had some experience before I had to dig in further.
Mark.
On Thu, Apr 25, 2013 at 1:01 PM, Mark A. Hershberger mah@everybody.orgwrote:
I did say I didn't try very hard. I'm not sure php even works with apache 2.4 which is labeled "experimental" on Debian.
So five minutes was about enough to apt-get the apache 2.4 package and dependencies and go to the URL that it was already set up on and see that it didn't work.
If you'd like me to test some more, I can. But I was hoping someone else had some experience before I had to dig in further.
Ah, I see. Unfortunately you probably know more than I do so I don't have anything to add. :P
*-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com
On 2013-04-25 2:01 PM, "Mark A. Hershberger" mah@everybody.org wrote:
On 04/25/2013 11:42 AM, Tyler Romeo wrote:
How exactly did it not succeed? That's a pretty serious bug.
I did say I didn't try very hard. I'm not sure php even works with apache 2.4 which is labeled "experimental" on Debian.
So five minutes was about enough to apt-get the apache 2.4 package and dependencies and go to the URL that it was already set up on and see that it didn't work.
If you'd like me to test some more, I can. But I was hoping someone else had some experience before I had to dig in further.
Mark.
Imagination does not breed insanity. Exactly what does breed insanity is reason. Poets do not go mad; but chess-players do. -- G.K. Chesterson
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
I would say we shouldn't document unless we habe a vauge idea why. From your description it could be that debian doesnt have php enabled by default in their package of apache or something like that which would not be a mw issue.
-bawolff
On 04/25/2013 08:40 PM, Brian Wolff wrote:
I would say we shouldn't document unless we habe a vauge idea why.
Agreed. But I was basing this on reports from people who were using XAMPP, not my lame attempts. Still, I haven't tried to reproduce the XAMPP issue, either.
For now, I suppose this is just something to make a mental note of until the problem becomes more real.
On 26.04.2013 5:02, Mark A. Hershberger wrote:
On 04/25/2013 08:40 PM, Brian Wolff wrote:
I would say we shouldn't document unless we habe a vauge idea why.
Agreed. But I was basing this on reports from people who were using XAMPP, not my lame attempts. Still, I haven't tried to reproduce the XAMPP issue, either.
For now, I suppose this is just something to make a mental note of until the problem becomes more real.
Instead of Order allow,deny Allow from all
httpd 2.4 uses Require all granted
RewriteLog /var/www/host/logs/rewrite.log RewriteLogLevel 3 also is not supported
LogLevel warn rewrite:trace8 should be used instead.
I briefly run through the documentation and it seems that rewrite rules and condition processing become a bit nginx-like (seems they were aware that nginx increased it's presense). However, I remember wikimedia was running something old like htpd 1.3 and also some local admins recommended it as fastest approach. I personally run nginx/php-fpm, even though it's unsupported (no IE6 workaround). However I do not care about IE6. Dmitriy
On 26.04.2013 23:42, Max Semenik wrote:
On 26.04.2013, 19:15 Dmitriy wrote:
However, I remember wikimedia was running something old like htpd 1.3
maxsem@mw1020:~$ dpkg -l apache* [snip] ii apache2.2-common 2.2.22-1ubuntu1.3 Apache HTTP Server common files
Surely it was some not so long time ago, there even was old httpd patch. Maybe they consider new hardware powerful enough so the difference became negligible.
On Apr 27, 2013 12:30 AM, "Dmitriy Sintsov" questpc@rambler.ru wrote:
Surely it was some not so long time ago, there even was old httpd patch.
Maybe they consider new hardware powerful enough so the difference became negligible.
parse error.
what are you talking about? must be some missing context.
-Jeremy
Hi Mark,
Op 25-4-2013 17:28, Mark A. Hershberger schreef:
I'm seeing a few reports that people are running into trouble running MediaWiki on Apache 2.4.
The reports seem focused on XAMPP, but I tried to run MW against the Apache 2.4 package on Debian and didn't succeed. Granted, I tried only for 5 minutes or so.
Is this something we should document?
I'm running MediaWiki on apache-2.4.4 on NetBSD. Running the latest git version with WikiData extensions. I didn't run into any serious problems while installing. I did have to install some additional packages, but that's probably just NetBSD being minimalistic.
Maarten
On 04/26/2013 02:29 PM, Maarten Dammers wrote:
I'm running MediaWiki on apache-2.4.4 on NetBSD.
Ah! Thank you. I'm gonna guess, then, that this is a problem particular to XAMPP and/or Windows.
Are you using rewrite rules with your installation? Are they different than what we have documented for Apache?
Ah! Thank you. I'm gonna guess, then, that this is a problem particular to XAMPP and/or Windows
FWIW: I'm running my local dev MediaWiki instance on Apache 2.4 and Windows XP. I reinstalled everything about 2 months ago, and don't recall doing anything extraordinary to get it to work
Here is some copy-paste Info
Apache Version Apache/2.4.3 (Win32) PHP/5.4.11 Apache API Version 20120211
From Special:Version
MediaWiki 1.21wmf11 (3fbc368) PHP 5.4.11 (apache2handler) MySQL 5.1.58-community Lua 5.1.4
Hope this helps.
On 27.04.2013 5:23, Mark A. Hershberger wrote:
On 04/26/2013 02:29 PM, Maarten Dammers wrote:
I'm running MediaWiki on apache-2.4.4 on NetBSD.
Ah! Thank you. I'm gonna guess, then, that this is a problem particular to XAMPP and/or Windows.
Are you using rewrite rules with your installation? Are they different than what we have documented for Apache?
Rewrite rules usually are compatible, they support old syntax but also now have more powerful conditions (which may be used but are not required). My site was running fine just after the two changes I sent in previous mail. However I never use pre-configured environments Windows, I install and configure everything manually. In Linux I even used to compile everything from source, but in last years switched to packages. Dmitriy
wikitech-l@lists.wikimedia.org