Difference between revisions of "PHP Mediawiki Eclipse debugging"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Trying to get https://www.semantic-mediawiki.org/wiki/User:WolfgangFahl/Workdocumentation_2015-12-27 working again | Trying to get https://www.semantic-mediawiki.org/wiki/User:WolfgangFahl/Workdocumentation_2015-12-27 working again | ||
+ | |||
+ | = Environment = | ||
+ | * Intranet Wiki with no security needs | ||
+ | <source lang='bash'> | ||
+ | php --version | ||
+ | PHP 7.2.24-0ubuntu0.18.04.2 (cli) (built: Jan 13 2020 18:39:59) ( NTS ) | ||
+ | Copyright (c) 1997-2018 The PHP Group | ||
+ | Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies | ||
+ | with Zend OPcache v7.2.24-0ubuntu0.18.04.2, Copyright (c) 1999-2018, by Zend Technologies | ||
+ | </source> | ||
= Install eclipse php = | = Install eclipse php = | ||
<source lang='bash'> | <source lang='bash'> | ||
Line 18: | Line 28: | ||
=== set mysql root password === | === set mysql root password === | ||
* https://www.digitalocean.com/community/tutorials/so-installieren-sie-mysql-auf-ubuntu-18-04-de | * https://www.digitalocean.com/community/tutorials/so-installieren-sie-mysql-auf-ubuntu-18-04-de | ||
+ | === follow steps === | ||
+ | and download LocalSe | ||
+ | == make phpinfo.php available == | ||
+ | <source lang='php'> | ||
+ | <?php | ||
+ | phpinfo(); | ||
+ | </source> |
Revision as of 11:31, 8 February 2020
Trying to get https://www.semantic-mediawiki.org/wiki/User:WolfgangFahl/Workdocumentation_2015-12-27 working again
Environment
- Intranet Wiki with no security needs
php --version
PHP 7.2.24-0ubuntu0.18.04.2 (cli) (built: Jan 13 2020 18:39:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24-0ubuntu0.18.04.2, Copyright (c) 1999-2018, by Zend Technologies
Install eclipse php
cd /usr/local/src
# download eclipse-php-2019-12-R-linux-gtk-x86_64.tar.gz from
# https://www.eclipse.org/downloads/
sudo tar xvfz eclipse-php-2019-12-R-linux-gtk-x86_64.tar.gz
Install Mediawiki
see https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu
sudo apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring
/usr/local/src$ sudo wget https://releases.wikimedia.org/mediawiki/1.33/mediawiki-1.33.2.tar.gz
wf@fur:/var/www/html$ sudo tar xvfz /usr/local/src/mediawiki-1.33.2.tar.gz
sudo ln -s mediawiki-1.33.2 wiki
Configure Localsettings.php
set mysql root password
follow steps
and download LocalSe
make phpinfo.php available
<?php
phpinfo();