Bug 1223712 - Strong dependancy to mod_php and httpd
Summary: Strong dependancy to mod_php and httpd
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawiki
Version: 21
Hardware: All
OS: Unspecified
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-05-21 10:01 UTC by Lameire Alexis
Modified: 2015-06-09 15:21 UTC (History)
2 users (show)

Fixed In Version: mediawiki-1.24.2-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-06-09 15:18:20 UTC
Type: Bug

Attachments (Terms of Use)
fix for this bug (3.27 KB, patch)
2015-05-21 12:06 UTC, Lameire Alexis
no flags Details | Diff

Description Lameire Alexis 2015-05-21 10:01:23 UTC
mediawiki provides a strong dependancy to mod_php and httpd apache.

I would like to use nginx and php_fpm instead. for that, you should replace the http require and php require to :

#for apache config files
requires: httpd-filesystem 
#for php-fpm/php 
requires: php(httpd)
#for the dependancy to a minimum version of php needed to mediawiki
require: php(language) >= 5.3.2 
#for requireing a webserver httpd/nginx/lighttpd/whatever
require: webserver

Comment 1 Lameire Alexis 2015-05-21 12:06:15 UTC
Created attachment 1028111 [details]
fix for this bug

I had just rebuild the package for myself, here the patch.

Comment 2 Michael Cronenworth 2015-05-21 14:12:53 UTC
Thanks. I'm going to fix this in a slightly different way.

You should be aware your patch is malformed. You combined 3 different patches to the same file into one file.

Comment 3 Fedora Update System 2015-05-21 14:32:06 UTC
mediawiki-1.24.2-2.fc22 has been submitted as an update for Fedora 22.

Comment 4 Fedora Update System 2015-05-21 14:33:47 UTC
mediawiki-1.24.2-2.fc21 has been submitted as an update for Fedora 21.

Comment 5 Fedora Update System 2015-05-22 02:30:53 UTC
Package mediawiki-1.24.2-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mediawiki-1.24.2-2.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 6 Lameire Alexis 2015-05-22 08:48:29 UTC
Sorry for the patch, 
I had just export a "git diff" output.

I just check your patch, and I could say it not totaly good ;).
you don't set the php(httpd) provides so you only depend to the php-common part, that don't provides an http usable php implementation (that are provided into php or php-fpm)

you don't make a dependancy to webserver. the httpd-filesystem only provide the dir where you can pur your configuration.

Comment 7 Fedora Update System 2015-05-26 14:45:54 UTC
mediawiki-1.25.1-1.fc22 has been submitted as an update for Fedora 22.

Comment 8 Fedora Update System 2015-06-09 15:18:20 UTC
mediawiki-1.25.1-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-06-09 15:21:15 UTC
mediawiki-1.24.2-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.