If you're using centos 6, definitely try *temporarily* disabling selinux
make sure your policy isn't preventing access.

On Nov 3, 2013 11:29 AM, "Tony Robinson" <[email protected]> wrote:
>
> Hello,
>
> I'm trying to install MediaWiki on CentOS with php-fpm, memcached, and
> nginx over SSL. If you've seen the Ars Technica "How to set up a Safe and
> Secure Web Server" (
>
http://arstechnica.com/gadgets/2012/11/how-to-set-up-a-safe-and-secure-web-server/
)
> I'm basically attempting to replicate all the applications they installed
> on Ubuntu to CentOS.
>
> So long story short, I'm installing Mediawiki as per the instructions
here:
>
http://arstechnica.com/information-technology/2013/02/web-served-7-wiki-wiki-wiki/
>
>
> Whenever I attempt to browse to the default index page on my wiki to
> perform the install, I get a blank page. I check my nginx error logs and I
> get this:
>
> 2013/11/03 11:27:37 [error] 22415#0: *1 FastCGI sent in stderr: "PHP
> message: PHP Fatal error:  session_start(): Failed to initialize storage
> module: memcache (path: /var/run/memcached/memcached.sock) in
>
/var/www/html/BlindSeeker/public_html/wiki/includes/templates/NoLocalSettings.php
> on line 50" while reading response header from upstream, client:
> 192.168.1.2, server: www.blindseeker.localdomain, request: "GET /wiki/
> HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.soc:", host:
> "192.168.1.11"
>
> So, understand my web-foo isn't strong, but from what I can make of this,
> Mediawiki is refusing to use memcache for session management. php-fpm has
> been told where the unix socket for memcached is located, and other php
> applications (vanilla, wordpress) are able to use it effectively.
>
> I can also use nc -U /var/run/memcached/memcached.sock and connect to the
> socket successfully, so I don't know why MediaWiki is refusing to use it.
>
> So I've tried hitting the #mediawiki IRC channel for some answers, and the
> only suggestion I got back was to see if safe_mode is turned on via
> php.ini, other suggestions via google state to turn on verbose logging
> under LocalSettings.php, but the file doesn't exist yet -- I haven't
> finished the installation phase since the install page won't render.
>
> So, I'm at a loss here. any suggestions?
>
> --
> when does reality end? when does fantasy begin?
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to