Changes

Jump to navigation Jump to search
Note that the phpinfo page shows the location of the Apache error logs (look for APACHE_LOG_DIR) and the location of the php.ini configuration file (look for Configuration File).
Checking the Apache error logs reveals that the Import failed due to a with this error: PHP Fatal Error: Call to undefined function pcntl_wifsignaled() in /var/lib/mediawiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 645, referer: http://128.42.44.22/wiki/Special:Import
Looking for pcntl_wifsignaled in the phpinfo page reveals that it is disabled. I check that pcntl is actually installed:
extension=pcntl.so
Still doesn't work. This [http://stackoverflow.com/a/8432855 SO answer] gives another way to check that Process Control (aka pcntl) is enabled:
$ php --ri pcntl
And it is enabled. So back to the Apache error logs:
 
[Wed Jan 27 14:05:32.370697 2016] [authz_core:error] [pid 26413] [client 10.124.76.123:51235] AH01630: client denied by server configuration: /var/lib/mediawiki/index.php
 
So let's check out that file. It doesn't have much other than comments, but one of the comments mentions that the file will "Bail on old versions of PHP, or if composer has not been run yet to install dependencies." So does that mean we need composer? That seems a bit redundant on Linux...
== To-do list ==
Anonymous user

Navigation menu