Your message dated Thu, 27 Nov 2025 19:48:47 +0000
with message-id <[email protected]>
and subject line Bug#1118971: fixed in mlmmj 1.6.0-1
has caused the Debian Bug report #1118971,
regarding mlmmj-php-web-admin: Incompatibilty with PHP not embedded in Apache
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1118971: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118971
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mlmmj-php-web-admin
Version: 1.5.2-1
Severity: important
Tags: patch
Dear Maintainer,
The Debian version of this package requires a .htaccess file to work
correctly, this is a problem for users that aren't using Apache.
I cannot address the issue of compatibility with non-Apache servers in regard
to the necessity of using HTTP Basic Authentication to protect the admin
interface. Someone else will have to supply a patch for that.
But the Debian-supplied .htaccess file also presents a problem for Apache users
who are not using libapache2-mod-php as is increasingly the norm.
The line: php_value include_path "/usr/share/mlmmj-php-web-admin"
Causes a fatal error when mod-php is not in-use, but the result of the line
being there is necessary to make the script work with Debian packaging.
There is however, a different way to solve this issue, which both makes the
script work with PHP-FPM or PHP-CGI, in addition to mod-php, and also with
non-Apache Web servers. (note again this does not address the Basic Auth issue)
The admin script can be patched to provide the same functionality in PHP.
Below are two patches. One removes the line from .htaccess that causes an
inability to start Apache when mod-php is not enabled.
The second patch alters the PHP script to do the same thing the .htaccess file
was trying to do.
--- /usr/share/mlmmj-php-web-admin/htdocs/.htaccess.orig 2025-10-11
09:23:37.000000000 -0400
+++ /usr/share/mlmmj-php-web-admin/htdocs/.htaccess 2025-10-11
12:42:09.154962565 -0400
@@ -2,4 +2,3 @@
AuthType Basic
AuthName "mlmmj web-interface on Debian GNU/Linux"
AuthUserFile /etc/mlmmj-php-web-admin/htpasswd
-php_value include_path "/usr/share/mlmmj-php-web-admin"
--- /usr/share/mlmmj-php-web-admin/htdocs/index.php.orig 2023-06-20
03:40:05.000000000 -0400
+++ /usr/share/mlmmj-php-web-admin/htdocs/index.php 2025-10-11
12:25:13.906398366 -0400
@@ -27,6 +27,7 @@
* IN THE SOFTWARE.
*/
+set_include_path(get_include_path().PATH_SEPARATOR."/usr/share/mlmmj-php-web-admin");
require(dirname(dirname(__FILE__))."/conf/config.php");
require(dirname(__FILE__)."/class.rFastTemplate.php");
-- System Information:
Debian Release: 12.12
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500,
'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-37-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set
to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mlmmj-php-web-admin depends on:
ii mlmmj 1.3.0-4
ii php8.2 [php] 8.2.29-1~deb12u1
mlmmj-php-web-admin recommends no packages.
mlmmj-php-web-admin suggests no packages.
-- Configuration Files:
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: mlmmj
Source-Version: 1.6.0-1
Done: Christopher Knadle <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mlmmj, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christopher Knadle <[email protected]> (supplier of updated mlmmj
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 27 Nov 2025 14:14:03 -0500
Source: mlmmj
Architecture: source
Version: 1.6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Christopher Knadle <[email protected]>
Changed-By: Christopher Knadle <[email protected]>
Closes: 1109184 1118969 1118971 1118972
Changes:
mlmmj (1.6.0-1) unstable; urgency=medium
.
* Newer upstream release 1.6.0
* debian/patches:
- Thanks to Ron Guerin <[email protected]> for reporting bugs 1118969,
1118971, 1118972, and including three patches added below
- Add 10_fix-php-web-tunables.diff to fix a syntax error in Perl code in
the PHP script eval()s
(Closes: #1118969)
- Add 12_fix-mlmmj-php.diff to fix PHP4-style class constructor for
PHP 7 and 8
(Closes: #1118972)
- Add 14_fix-htaccess.diff to update .htaccess file for PHP-FPM and PHP-CGI
(Closes: #1118971)
- Removed 07_fix-crontab-suggestions.diff: src/mlmmj-make-ml rewrtten,
the patch no longer applies
- Removed 08_fix-ftbfs-bug.diff: obsolete - mlmmj 1.6.0 incorporates the
changes made in patch
* debian/po/ca.po:
- Add new Catlan translation file
Thanks to Carles Pina i Estany <[email protected]> for the translation
(Closes: #1109184)
Checksums-Sha1:
a622cfa558138f4c29005721c223107b8801d8c5 2125 mlmmj_1.6.0-1.dsc
d278caeee6ce3cca65a036a40c342da1bafc6ade 244135 mlmmj_1.6.0.orig.tar.gz
50052dde77561ec4b103353d09b1b66eed274848 26456 mlmmj_1.6.0-1.debian.tar.xz
794bce9493acf94d8967cdf3be18da2720599dcd 6166 mlmmj_1.6.0-1_source.buildinfo
Checksums-Sha256:
c55673c1a7671756cb5ce6692c6ece635bea728deb748f111b3f1a305eca8026 2125
mlmmj_1.6.0-1.dsc
6b18526bbcbba3f5d29f13abc8ea532d14423120ff5bfe1e0fdffd285895863f 244135
mlmmj_1.6.0.orig.tar.gz
4b4744e24d304a52cb2205569e8ad7873f0cd881080a5d3087bd4d7fc72da45e 26456
mlmmj_1.6.0-1.debian.tar.xz
7fbb16f03654b0901899fa899da0fb9acfa0030e1aa6156ce7d9b0ad3abb8be8 6166
mlmmj_1.6.0-1_source.buildinfo
Files:
65d4739387fe23496bd10c8346bd6308 2125 mail optional mlmmj_1.6.0-1.dsc
e60718168a7f5adc4726dabf2d503a55 244135 mail optional mlmmj_1.6.0.orig.tar.gz
99ad94086dee25e344e179201593f977 26456 mail optional
mlmmj_1.6.0-1.debian.tar.xz
38e30ac4dcf52e1c5df9fe5db9126329 6166 mail optional
mlmmj_1.6.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEe1KzyGmRW/4DhtV6ieLKD9m6RHAFAmkoozQACgkQieLKD9m6
RHA1IA//SSoptz8+bPoESps+OGiN/DfCQkxNNft9wIpsQZp3u3s0uJHmAAAWNRua
2sZimrI53uFhLSrjALQuI1NhEghegG7BJp61uHuXrzgC3cpF0ByBZPk7djrGof+M
la3e+DEww9/VeyoiJmirHbKdl6mk5XqkiRmWlFPYq/2iDl5kLYHdJHQzhKgZrFJP
a5Om4tiI59/vUsXRi2gVOEfpu6OInXRlty+Ghulu/azplHTF7AZaDICAq7HfgVLU
VyYZ+gNdXE2Z5Rpvo+sbz7iV6/8d8NnRwA8djePgAjdBg9bqXfCq8/nUB9gHmXmY
zUdLvhK8xsQYb9AYQaqiUuuFN9KJ2VIxiXOKGvZ+IvGQ1vG4RGd53GgckP/Nm9ia
bqXDwdaGPpNuZ0MC+8jioH2vCNkXrefXmiUPCVkUNhjP/MjFwJLIKOEsVxfUHTkt
DdMjz47ZKDc8kVojqbOJPLIAsERi8YbocU8rzZJbNrBnJ74vN96hXbbGXbt006Rv
wNvf6X8JCW5b8k+sMGTTMbtw2MlCM0nlpcJ8ETzycqWpFJ41FLOrYjgDoEIKQ2xa
yp3F2e5XSJK0ETqRxsZssmDBdmLG2WtyhWeiITsTknyIAlLzp+xjKKrMMJKjeodg
dwKtt+bkxsQ1ITutfQBnNVlquGkfvptOAiLwsWO8UpyCOum+XmE=
=HZT0
-----END PGP SIGNATURE-----
pgpjFY88jUxbD.pgp
Description: PGP signature
--- End Message ---