FS#51636 - [dokuwiki] package should probably not automatically install dokuwiki.ini for php
Attached to Project:
Community Packages
Opened by Michael Taboada (lilmike) - Wednesday, 02 November 2016, 09:05 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 21 June 2017, 11:24 GMT
Opened by Michael Taboada (lilmike) - Wednesday, 02 November 2016, 09:05 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 21 June 2017, 11:24 GMT
|
Details
Description:
In the current package, a .ini file is installed to /etc/php/conf.d/dokuwiki.ini to allow dokuwiki directories through the open-basedir setting. However, on my system, I have open basedir entirely commented out, as I don't wish to use it (as I have so many possible locations for my website php code). When this was installed, this automatically turned back on open basedir, causing all of my websites *except* dokuwiki to not function, and I didn't realize it until a few days later because all I had been working with was dokuwiki itself. I would suggest that either 1. don't install this file, or 2. At least give a big, prominent warning for those who are not using open basedir that they should go and comment out the setting in /etc/php/conf.d/dokuwiki.ini or their websites will stop functioning. Additional info: * package version(s) 20160626_a-1 |
This task depends upon
(1) https://www.archlinux.org/news/php-70-packages-released/
As this package used to set open_basedir, I had to configure open_basedir for others webapps to work. As soon, as you retire this file, you should either remove all your usage of open_basedir or set it manually for dokuwiki.
@sergej: you didn't have to adjust that on your server?