Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Unable to initialize module

Started by Muut Archive 11 years ago · 2 replies · 293 views
11 years ago

I get this error:

PHP Startup: XCache: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module API=20131226 These options need to match

When uploading my grav folder to my PHP hosting provider? What can I do?

11 years ago

Grav sees you have XCache module installed and tries to use it, unfortunately it seems to be improperly installed on your webhost and causes an error when initializing.

Your best option is to contact them and ask them to fix this as it's a Apache/PHP/XCache configuration issue.

Another hackey workaround, is by putting the following in your .htaccess file:

TXT
xcache.cacher Off
xcache.size 0
xcache.stat Off

This should turn it off if your host lets you do this from htaccess.

11 years ago

Thanks. Maybe I can give you the info of the host I am using and you can update the documentation, warning other people about the lack of Xcache of the webhost?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1326 9 years ago
Archive · by Muut Archive, 9 years ago
2 920 9 years ago
Archive · by Muut Archive, 9 years ago
2 4050 9 years ago
Archive · by Muut Archive, 9 years ago
1 2928 9 years ago
Archive · by Muut Archive, 9 years ago
3 1107 9 years ago