mantis requires php5-mysql

Bug #610356 reported by Kwok Ho Yin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mantis (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mantis

I found that firefox will show nothing (URL = "http://localhost/mantis/") if php5-mysql package is not installed.

Therefore, please change "php5-mysql" from "Recommends" to "Depends"

Revision history for this message
Olivier Berger (olivierberger) wrote :

I believe it's possible to wish to configure it for using Postgres (or any other packaged RDBMS), hence the recommends and not a depends.

MySQL is not the only option.

That's a very common packaging case, for web apps depending from a web server or a RDBMS, AFAICT.

I'd say there's no bug here.

Hope this helps.

Revision history for this message
Kwok Ho Yin (hykwok1) wrote :

How about change it to "Suggest" list?
I found that "php5-cli" and "mysql-server" packages are in the "Suggest" list.

Revision history for this message
Olivier Berger (olivierberger) wrote :

What do you suggest exactly in #2 ? AFAIU, recommends is "stronger" than suggests, so... everything is fine ATM :
* suggests mysql-server a one may not run the RDBMS on the same machine, but that's an option (hence only suggests and not recommends)
* recommends php5-mysql, as even with a remote mysql server, you'd need the client libs locally... but still not a dependency as you may choose postgres for instance.
* php-cli... well, most people probably run php with mod-php library for apache, but some may prefer some CGI-like like if installing in a weird apache config (for SOAP for instance, etc.)

Hope this helps.

Revision history for this message
Scott Kitterman (kitterman) wrote :

The current package in precise Recommends: php5-mysql, mysql-client and Recommends are installed by default.

Changed in mantis (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.