[04:10:21] Hi guys. I'm having a problem with getting mediawiki to send emails with my host Dreamhost. [04:11:41] https://pastebin.com/XZs7R9Pf [04:12:16] I changed the server address, but everything else is the same. Email username is wikiadmin [04:13:26] generates the error [d90106f2] /wiki/index.php?title=Special:UserLogin&action=submitlogin&type=signup&returnto=Main+Page MWException from line 291 of /home/server/server.com/wiki/includes/mail/UserMailer.php: PEAR mail package is not installed [04:16:50] so should I just forego all this shit andgo back to using PHP mail? [04:17:09] Is PEAR installed and working properly? http://pear.php.net/manual/en/installation.checking.php [04:17:42] I just found out its not on the server, I made a bad assumption [04:18:11] https://help.dreamhost.com/hc/en-us/articles/214392988-How-do-I-install-PEAR- [04:18:25] but also, they reccomend using PHPMailer [04:18:35] is there a disadvantage to PHPMailer? [04:19:07] I couldn't say [04:19:54] whatever then. Everything else with mediawiki has been great. It's my first time running a wiki [04:20:34] the documentation took me from being a fairly novice website owner to having a few hundred pages [04:21:20] Now I'm just starting to get paranoid about security [04:21:25] I haven't set up a mediawiki installation since 2007, but I remember it being very straightforward [04:23:00] Are your security concerns about improper access to a private wiki, or someone using the wiki to affect the server? [04:23:15] both [04:23:29] my wiki involves pizzagate [04:24:39] I'd like to have some way to allow public downloads and backups of the whole wiki without compromising anything. [04:25:15] https://www.mediawiki.org/wiki/Manual:DumpBackup.php [04:26:07] well looks like they really did think of everything [04:26:24] Yeah, this is published for wikipedia [04:27:36] which generally is why mediawiki is secure - wikipedia gets all kinds of lunatics and trolls who've tried almost everything over the years [04:31:59] happyfeet: what version of MediaWiki are you using? [04:32:16] modern versions should come with the PEAR mail package bundled... [04:32:52] if the normal PHP mail() works then it should be fine [16:27:29] HI [16:27:36] need help [16:29:27] hi? [16:37:07] !ask | Cono_ [16:37:08] Cono_: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [16:53:17] Hi, I'm working on setting up a wiki and all seems good except for caching.. I'm runing nginx + php5. I installed php5-apcu prior to installing and the installer acknowledged that APC was present. However when I have caching set to CACHE_ACCEL, I have no sessions and am not sure if caching is working at all [17:16:36] nplus: session handling is configured separatly. i think per default it uses php [17:16:49] ...it uses php's standard mechanism [17:17:43] nplus: in some cases, you need to manually tell php to reserve space for custom objects in the byte code cache. perhaps that's the issue you are running into [17:28:29] When I set $wgMainCacheType = CACHE_NONE, sessions started to work [17:29:50] nplus: use $wgSessionCacheType for separate control [17:30:06] didn't know it would fall back to "anything". probably not a good idea. [17:30:47] You probably want $wgParserCacheType = CACHE_DB. And $wgMainCacheType = CACHE_ACCEL. [17:31:04] make sure your apc cache actually has room for your custom data, though [17:59:27] DanielK_WMDE: hmm ok thanks I'll give that a whirl