# Problems with MediaWiki and PHP

**URL:** <https://forum.infinityfree.com/t/problems-with-mediawiki-and-php/7034>\
**Category:** Hosting Support\
**Created:** [July 19, 2017, 11:13am UTC](https://forum.infinityfree.com/t/problems-with-mediawiki-and-php/7034 "2017-07-19T11:13:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elia1995](https://forum.infinityfree.com/letter_avatar/elia1995/32/5_5575768a8748004e209b776fc1b2916d.png) [@Elia1995](https://forum.infinityfree.com/u/Elia1995)\
**Post date:** [July 19, 2017, 11:13am UTC](https://forum.infinityfree.com/t/problems-with-mediawiki-and-php/7034/1 "2017-07-19T11:13:09Z")

</div>

Hello, I’m creating a wiki with MediaWiki (installed through Softaculous), I’ve then added the Scribunto extension and enabled it, it works fine and I could import the template:infobox.

The problem now is that when I create a page with that template, I get the following PHP error:

“Lua error: Cannot create process: proc\_open is not available. Check PHP’s “disable\_functions” configuration directive.”

Googling I found out that I need to enable proc\_open in the PHP configuration, but I can’t access that config.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [July 19, 2017, 12:18pm UTC](https://forum.infinityfree.com/t/problems-with-mediawiki-and-php/7034/2 "2017-07-19T12:18:12Z")

</div>

The `proc_open` function is used to execute arbitrary commands on the server. Functions like that are blocked for security reasons, you cannot execute shell commands on the servers. Also, no Lua interpreter is installed on our servers.

MediaWiki is supported here, but the Scribunto extension is not.

---

<div class="post-metadata">

**Author:** ![Elia1995](https://forum.infinityfree.com/letter_avatar/elia1995/32/5_5575768a8748004e209b776fc1b2916d.png) [@Elia1995](https://forum.infinityfree.com/u/Elia1995)\
**Post date:** [July 19, 2017, 9:55pm UTC](https://forum.infinityfree.com/t/problems-with-mediawiki-and-php/7034/3 "2017-07-19T21:55:04Z")

</div>

So what’s an alternative to get working infoboxes without lua script ?

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [July 20, 2017, 11:05am UTC](https://forum.infinityfree.com/t/problems-with-mediawiki-and-php/7034/4 "2017-07-20T11:05:21Z")

</div>

> @Elia1995 said:  
> So what’s an alternative to get working infoboxes without lua script ?

I have no idea, I’m not a Mediawiki expert. Maybe Google for alternative plugins which fully rely on PHP?

---

<div class="post-metadata">

**Author:** ![Elia1995](https://forum.infinityfree.com/letter_avatar/elia1995/32/5_5575768a8748004e209b776fc1b2916d.png) [@Elia1995](https://forum.infinityfree.com/u/Elia1995)\
**Post date:** [July 21, 2017, 4:27pm UTC](https://forum.infinityfree.com/t/problems-with-mediawiki-and-php/7034/5 "2017-07-21T16:27:26Z")

</div>

> @Admin said:
> 
> > @Elia1995 said:  
> > So what’s an alternative to get working infoboxes without lua script ?
> 
> I have no idea, I’m not a Mediawiki expert. Maybe Google for alternative plugins which fully rely on PHP?

I’ve already looked on Google and the only solution for infoboxes was that to use the actual lua scripts from Wikipedia, which I used, but without that php support it doesn’t seem to work.

I’ll look for something similar to MediaWiki but with a different structure for infoboxes, maybe they’ll work.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [January 17, 2019, 7:28pm UTC](https://forum.infinityfree.com/t/problems-with-mediawiki-and-php/7034/6 "2019-01-17T19:28:17Z")

</div>


