![]() ![]() I'm surprised I noticed, since it's easy to miss that extra underscore when skimming. It was due to the metatable's _index field lacking an underscore, which of course means that it would not be recognized at all. #MEDIAWIKI MODULES CODE#I'm not sure how your code got to the state that it's in, but this would very well explain all the troubles you've been having, even why attr was not accessible. Wikipedia metatable._index = function(t, key)ĭo you see the difference? Metamethods in Lua always start with two underscores _, not one. ![]() Your code metatable._index = function(t, key) In fact, I'd recommend performing a diff of the two. vim LocalSettings.phpĪnd paste the Mediawiki’s settings on it.Look very, very carefully at your pastebinned code compared to Wikipedia's code. You cannot use the Mediawiki installation until the installation file is generated. On this page the installer asks some general questions about the site. We’ve already created the database above. If PHP packages pass the checking, you will start installation process. Point your browser with default port to Step 2. When you are finished, click the Save icon to save your changes, then click the Graceful Restart button. Mv mediawiki-* mediawiki Grant the Web Server User Write Permission to Create wp-config.php During Installation chown -R nobody:nobody mediawiki Graceful Restart #MEDIAWIKI MODULES DOWNLOAD#To illustrate setting up Mediawiki on a vhost we’ll use the default virtual host, “Example”. You can download Mediawiki from command or their official download page. Please note that the document root of ‘Example’ virtual host is /usr/local/lsws/Example/html/. Navigate to Virtual Hosts > Select Virtual Host from List > General > Index Files, click Edit in the top right corner, and enter index.html,index.php in the Index Files box. Grant all privileges on mediawiki.* to identified by 'mediawiki' Īn index file needs to be set in LiteSpeed Web Admin Console. Set new password: /usr/bin/mysql_secure_installationĮnter $yourpassword Create Mediawiki DB Account mysql -u root -p$yourmysqlpassword create database mediawiki #MEDIAWIKI MODULES INSTALL#Install MariDB: yum install mariadb-server If you are not using RPM/APT, or you prefer to build PHP by yourself, see our instructions for building PHP here. Visit Navigate to Server Configuration > External app, then click the second icon Edit on the right hand side in order to edit this application.Īddress: uds://tmp/lshttpd/lsphp.sock → uds://tmp/lshttpd/lsphp72.sockĬommand: $SERVER_ROOT/fcgi-bin/lsphp5 → $SERVER_ROOT/lsphp72/bin/lsphp Note: There are multi versions of LSPHP (lsphp53, lsphp54, lsphp55, lsphp56, lsphp70, lsphp71, lsphp72) available. Use the following command to install PHP with the modules required: yum install lsphp72 lsphp72-common lsphp72-gd lsphp72-process lsphp72-mbstring lsphp72-mysqlnd lsphp72-xml lsphp72-json ![]() If the LiteSpeed Repository was not installed and enabled during the web server installation, follow this guide to install and enable the LiteSpeed Repository. The easiest way to install PHP for OpenLiteSpeed (without ols1clk) is through our CentOS repository. Install: Quick Install Mediawiki on OpenlitespeedĪfter you install OpenLiteSpeed, follow the instructions below to get your Mediawiki site working. Grant the Web Server User Write Permission to Create wp-config.php During Installation.Install: Quick Install Mediawiki on Openlitespeed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |