how to change lampp repository for mediawiki?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

how to change lampp repository for mediawiki?

Postby darulezpl » 11. June 2019 13:38

hi ,


my lamp installation that hosts mediawiki 1,32 on the Cenots OS 7 is having problem with overfilling space. (due to some logs) so I copied over whole /opt/lampp/ into new different file system with more space available: /opt/cloudhost/lampp.

In my /opt I made symbolic link for like:

lampp -> /opt/clouldhost/lampp

I renamed the orginal /opt/lampp hoping the system would use the new location from synonym..

but now the main web page cannot be displayed and showing that it cannot access the database.


What else (confing?) needs to be adjusted to fix it?
darulezpl
 
Posts: 1
Joined: 11. June 2019 13:35
XAMPP version: 7.3.3-0
Operating System: CentOS

Re: how to change lampp repository for mediawiki?

Postby tasso85 » 04. July 2019 16:16

XAMPP has its installation path hardcoded as /opt/lampp, so you cannot just move it, nor you can change where it is installed.

What you COULD do is, move the installation folder, and then create a symbolic link back to the original location.

In your case, having already moved the installation from /opt/lampp to /opt/cloudhost/lampp, you can create the symbolic link by using the command

Code: Select all
ln -s /opt/cloudhost/lampp /opt/lampp

as root.
tasso85
 
Posts: 11
Joined: 16. May 2016 11:19
XAMPP version: 7.0.5
Operating System: Centos 7 64bit


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 34 guests