Note that there are some explanatory texts on larger screens.

plurals
  1. POPages not loading on PHP 5.4.4 w/ APC - Apache 2.4.2
    primarykey
    data
    text
    <p>I'm hoping someone can help me with this, as I've kinda hit a wall. Here's the situation: </p> <p>I'm currently setting up a knowledge base using MediaWiki. I'm using XAMPP to aggregate my tools. The site itself is working fine, and coming along nicely. </p> <p>I'm now trying to set up a cache to speed things up. I've opted to use PHP APC, as it is recommended for MediaWiki. The troubles started here.</p> <p>Current versions are:</p> <p>PHP: 5.4.4 Apache: 2.4.2 (apache2handler) SQL: 5.5.25a XAMPP: 1.8.0 MediaWiki 1.19.1</p> <p>I am currently using Windows, so the first issue I had was finding the correct php_apc.dll file for my PHP. I tried numerous versions unsuccessfully (with log errors stating the .dll cannot be found). I eventually was able to secure a version which seems to work, APC 3.1.14 for PHP 5.4, downloaded from <a href="http://dev.freshsite.pl/php-accelerators/apc.html" rel="nofollow">http://dev.freshsite.pl/php-accelerators/apc.html</a>. It is the TS version, as this option is enabled on my PHP. </p> <p>Now, with this presumably correct version of APC, Apache is now able to start fine. phpinfo() also shows the APC extension as available. The problem is now that no pages on the wiki will load. Precise situation is that:</p> <ul> <li>All pages on the Wiki do not load (IP/mediawiki/*)</li> <li>Pages on XMAPP itself do seem to load correclt (IP/XAMPP/*).</li> <li>Other utilities are not able to load either, (e.g. phpMyAdmin).</li> </ul> <p>No error messages seem to be created either in apache logs or php logs. Now, I am by no means an expert on this. </p> <p>I have confirmed that environment variables in Windows TMP and TEMP both point to the same folder (C:\WINNT\TEMP), on which I gave "everyone" full access rights. </p> <p>Here is an image showing the phpinfo() for APC that I can see:</p> <p><a href="http://i.stack.imgur.com/hYHwP.png" rel="nofollow">http://i.stack.imgur.com/hYHwP.png</a></p> <p>Any ideas? </p> <p>edit: I forgot to mention: there actually are 0kb sized files that seem to be related to APC being created under c:\winnt\temp. For instance, one of them is called ".apc.a02684".</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload