Upgrading Mediawiki to PHP 7.0

The discussion lounge for third-party packages.
Forum rules
Please note the Disclaimer before modifying your Synology Product.
j.xavier.atero
Trainee
Trainee
Posts: 17
Joined: Wed Aug 10, 2016 8:51 am
Location: Barcelona

Upgrading Mediawiki to PHP 7.0

Postby j.xavier.atero » Thu Dec 07, 2017 9:51 pm

Adding this entry just as a reference ...

1- Install PHP 7.0

2- Enable PHP extensions:
    - Main Menu > Web Station > PHP Settings
    - PHP version: PHP 7.0
    - Enable extensions:
      - iconv
      - mcrypt
      - mysqli
    - Click Apply
    :!: If iconv extension not enabled, the following error message will be displayed:

    ... Installing some PHP extensions is required.

    Required components

    You are missing a required extension to PHP that MediaWiki requires to run. Please install:

    iconv (more information).


    :!: If mcrypt extension not enabled, the following error message will be displayed: ... Encryption is not available. You really should install the PHP OpenSSL extension, or failing that the mcrypt extension ...

    :!: If mysqli extension not enabled, the following error message will be displayed: ... Database::factory no viable database extension found for type 'mysql' ...
3- Change PHP version of Web Station:
    - Main Menu > Web Station > General Settings
    - Select PHP: PHP 7.0
    - Click Apply
Last edited by j.xavier.atero on Sat Dec 09, 2017 2:00 am, edited 1 time in total.
User avatar
slavikf
Sharp
Sharp
Posts: 182
Joined: Fri Dec 10, 2010 7:37 am
Location: Seattle, WA

Re: Upgrading Mediawiki to PHP 7.0

Postby slavikf » Fri Dec 08, 2017 1:54 am

So, were you able to install it?

I got PHP7 running on my DS412+, but mysqli extension is missing, - that "Enable PHP extensions" doesn't enable anything...
owner of DS412+
j.xavier.atero
Trainee
Trainee
Posts: 17
Joined: Wed Aug 10, 2016 8:51 am
Location: Barcelona

Re: Upgrading Mediawiki to PHP 7.0

Postby j.xavier.atero » Sat Dec 09, 2017 2:02 am

slavikf wrote:So, were you able to install it?

I got PHP7 running on my DS412+, but mysqli extension is missing, - that "Enable PHP extensions" doesn't enable anything...


Make sure that you are enabling the extensions in PHP version: PHP 7.0. I have added that missing information to my original post.

2- Enable PHP extensions:
    - Main Menu > Web Station > PHP Settings
    - PHP version: PHP 7.0
    - Enable extensions:
      - iconv
      - mcrypt
      - mysqli
    - Click Apply

Return to “Third-party Packages”

Who is online

Users browsing this forum: No registered users and 5 guests